/third_party/mesa3d/src/compiler/spirv/tests/ |
D | helpers.h | 46 spirv_to_nir_options spirv_options; in get_nir() local 47 memset(&spirv_options, 0, sizeof(spirv_options)); in get_nir() 48 spirv_options.environment = NIR_SPIRV_VULKAN; in get_nir() 49 spirv_options.caps.vk_memory_model = true; in get_nir() 50 spirv_options.caps.vk_memory_model_device_scope = true; in get_nir() 51 spirv_options.ubo_addr_format = nir_address_format_32bit_index_offset; in get_nir() 52 spirv_options.ssbo_addr_format = nir_address_format_32bit_index_offset; in get_nir() 53 spirv_options.phys_ssbo_addr_format = nir_address_format_64bit_global; in get_nir() 54 spirv_options.push_const_addr_format = nir_address_format_32bit_offset; in get_nir() 55 spirv_options.shared_addr_format = nir_address_format_32bit_offset; in get_nir() [all …]
|
/third_party/mesa3d/src/gallium/frontends/clover/nir/ |
D | invocation.cpp | 370 struct spirv_to_nir_options spirv_options = {}; in create_spirv_options() local 371 spirv_options.environment = NIR_SPIRV_OPENCL; in create_spirv_options() 373 spirv_options.shared_addr_format = nir_address_format_32bit_offset; in create_spirv_options() 374 spirv_options.global_addr_format = nir_address_format_32bit_global; in create_spirv_options() 375 spirv_options.temp_addr_format = nir_address_format_32bit_offset; in create_spirv_options() 376 spirv_options.constant_addr_format = nir_address_format_32bit_global; in create_spirv_options() 378 spirv_options.shared_addr_format = nir_address_format_32bit_offset_as_64bit; in create_spirv_options() 379 spirv_options.global_addr_format = nir_address_format_64bit_global; in create_spirv_options() 380 spirv_options.temp_addr_format = nir_address_format_32bit_offset_as_64bit; in create_spirv_options() 381 spirv_options.constant_addr_format = nir_address_format_64bit_global; in create_spirv_options() [all …]
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_kernel.c | 35 const struct spirv_to_nir_options *spirv_options) in load_clc_shader() argument 41 spirv_options, nir_options); in load_clc_shader() 265 struct spirv_to_nir_options spirv_options = { in brw_kernel_from_spirv() local 300 spirv_options.clc_shader = load_clc_shader(compiler, disk_cache, in brw_kernel_from_spirv() 301 nir_options, &spirv_options); in brw_kernel_from_spirv() 306 entrypoint_name, &spirv_options, nir_options); in brw_kernel_from_spirv() 324 NIR_PASS_V(nir, nir_lower_libclc, spirv_options.clc_shader); in brw_kernel_from_spirv()
|
/third_party/mesa3d/src/imagination/rogue/ |
D | rogue_nir.c | 39 static const struct spirv_to_nir_options spirv_options = { variable 54 return &spirv_options; in rogue_get_spirv_options() 135 spirv_options.ubo_addr_format); in rogue_nir_passes()
|
/third_party/mesa3d/src/vulkan/runtime/ |
D | vk_nir.c | 84 const struct spirv_to_nir_options *spirv_options, in vk_spirv_to_nir() argument 91 struct spirv_to_nir_options spirv_options_local = *spirv_options; in vk_spirv_to_nir()
|
D | vk_shader_module.c | 123 const struct spirv_to_nir_options *spirv_options, in vk_shader_module_to_nir() argument 135 spirv_options, nir_options, in vk_shader_module_to_nir()
|
D | vk_pipeline.c | 62 const struct spirv_to_nir_options *spirv_options, in vk_pipeline_shader_stage_to_nir() argument 127 spirv_options, nir_options, mem_ctx); in vk_pipeline_shader_stage_to_nir()
|
D | vk_pipeline.h | 46 const struct spirv_to_nir_options *spirv_options,
|
D | vk_nir.h | 45 const struct spirv_to_nir_options *spirv_options,
|
D | vk_shader_module.h | 61 const struct spirv_to_nir_options *spirv_options,
|
/third_party/mesa3d/src/compiler/spirv/ |
D | nir_load_libclc.c | 302 const struct spirv_to_nir_options *spirv_options, in nir_load_libclc_shader() argument 306 nir_address_format_bit_size(spirv_options->global_addr_format)); in nir_load_libclc_shader() 336 struct spirv_to_nir_options spirv_lib_options = *spirv_options; in nir_load_libclc_shader()
|
D | nir_spirv.h | 131 const struct spirv_to_nir_options *spirv_options,
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_shader.c | 240 const struct spirv_to_nir_options spirv_options = { in panvk_per_arch() local 254 &spirv_options, in panvk_per_arch() 322 spirv_options.ssbo_addr_format); in panvk_per_arch()
|
/third_party/mesa3d/src/mesa/main/ |
D | glspirv.c | 244 const struct spirv_to_nir_options spirv_options = { in _mesa_spirv_to_nir() local 265 &spirv_options, in _mesa_spirv_to_nir()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_cmdline.c | 230 const struct spirv_to_nir_options spirv_options = { in load_spirv() local 251 stage, entry, &spirv_options, in load_spirv()
|
/third_party/mesa3d/src/gallium/frontends/clover/llvm/ |
D | invocation.cpp | 528 const auto spirv_options = get_spirv_translator_options(dev); in compile_to_spirv() local 532 if (!::llvm::writeSpirv(mod.get(), spirv_options, os, error_msg)) { in compile_to_spirv()
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_shader.c | 27 const struct spirv_to_nir_options spirv_options = { in tu_spirv_to_nir() local 91 &spirv_options, nir_options, in tu_spirv_to_nir()
|
/third_party/mesa3d/src/microsoft/clc/ |
D | clc_compiler.c | 757 const struct spirv_to_nir_options spirv_options = { in clc_spirv_to_dxil() local 796 &spirv_options, in clc_spirv_to_dxil()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_pipeline.c | 392 const struct spirv_to_nir_options spirv_options = { in lvp_shader_compile_to_ir() local 439 &spirv_options, drv_options, in lvp_shader_compile_to_ir()
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_shader.c | 711 const struct spirv_to_nir_options spirv_options = { in radv_shader_spirv_to_nir() local 791 stage->entrypoint, &spirv_options, in radv_shader_spirv_to_nir()
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_pipeline.c | 63 const struct spirv_to_nir_options spirv_options = { in anv_shader_stage_to_nir() local 138 &spirv_options, nir_options, in anv_shader_stage_to_nir()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_compiler.c | 1945 static const struct spirv_to_nir_options spirv_options = { in zink_shader_spirv_compile() local 2010 zs->nir->info.stage, "main", &spirv_options, &screen->nir_options); in zink_shader_spirv_compile()
|