Home
last modified time | relevance | path

Searched refs:spirv_options (Results 1 – 22 of 22) sorted by relevance

/third_party/mesa3d/src/compiler/spirv/tests/
Dhelpers.h46 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/
Dinvocation.cpp370 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/
Dbrw_kernel.c35 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/
Drogue_nir.c39 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/
Dvk_nir.c84 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()
Dvk_shader_module.c123 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()
Dvk_pipeline.c62 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()
Dvk_pipeline.h46 const struct spirv_to_nir_options *spirv_options,
Dvk_nir.h45 const struct spirv_to_nir_options *spirv_options,
Dvk_shader_module.h61 const struct spirv_to_nir_options *spirv_options,
/third_party/mesa3d/src/compiler/spirv/
Dnir_load_libclc.c302 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()
Dnir_spirv.h131 const struct spirv_to_nir_options *spirv_options,
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_shader.c240 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/
Dglspirv.c244 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/
Dir3_cmdline.c230 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/
Dinvocation.cpp528 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/
Dtu_shader.c27 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/
Dclc_compiler.c757 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/
Dlvp_pipeline.c392 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/
Dradv_shader.c711 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/
Danv_pipeline.c63 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/
Dzink_compiler.c1945 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()