1 /* 2 * Copyright 2023 Intel Corporation 3 * SPDX-License-Identifier: MIT 4 */ 5 6 #ifndef MESA_NIR_CLC_H 7 #define MESA_NIR_CLC_H 8 9 #include "nir.h" 10 11 #ifdef __cplusplus 12 extern "C" { 13 #endif 14 15 struct disk_cache; 16 struct spirv_to_nir_options; 17 18 bool nir_can_find_libclc(unsigned ptr_bit_size); 19 20 nir_shader * 21 nir_load_libclc_shader(unsigned ptr_bit_size, 22 struct disk_cache *disk_cache, 23 const struct spirv_to_nir_options *spirv_options, 24 const nir_shader_compiler_options *nir_options, 25 bool optimize); 26 27 #ifdef __cplusplus 28 } 29 #endif 30 31 #endif /* MESA_NIR_CLC_H */ 32