Home
last modified time | relevance | path

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

/external/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 …]
/external/mesa3d/src/gallium/frontends/clover/nir/
Dinvocation.cpp324 struct spirv_to_nir_options spirv_options = {}; in create_spirv_options() local
325 spirv_options.environment = NIR_SPIRV_OPENCL; in create_spirv_options()
327 spirv_options.shared_addr_format = nir_address_format_32bit_offset; in create_spirv_options()
328 spirv_options.global_addr_format = nir_address_format_32bit_global; in create_spirv_options()
329 spirv_options.temp_addr_format = nir_address_format_32bit_offset; in create_spirv_options()
330 spirv_options.constant_addr_format = nir_address_format_32bit_global; in create_spirv_options()
332 spirv_options.shared_addr_format = nir_address_format_32bit_offset_as_64bit; in create_spirv_options()
333 spirv_options.global_addr_format = nir_address_format_64bit_global; in create_spirv_options()
334 spirv_options.temp_addr_format = nir_address_format_32bit_offset_as_64bit; in create_spirv_options()
335 spirv_options.constant_addr_format = nir_address_format_64bit_global; in create_spirv_options()
[all …]
/external/mesa3d/src/compiler/spirv/
Dnir_load_libclc.c245 const struct spirv_to_nir_options *spirv_options, in nir_load_libclc_shader() argument
249 nir_address_format_bit_size(spirv_options->global_addr_format)); in nir_load_libclc_shader()
279 struct spirv_to_nir_options spirv_lib_options = *spirv_options; in nir_load_libclc_shader()
Dnir_spirv.h116 const struct spirv_to_nir_options *spirv_options,
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_cmdline.c236 const struct spirv_to_nir_options spirv_options = { in load_spirv() local
259 &spirv_options, in load_spirv()
/external/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()
/external/mesa3d/src/gallium/frontends/clover/llvm/
Dinvocation.cpp474 const auto spirv_options = get_spirv_translator_options(dev);
478 if (!::llvm::writeSpirv(mod.get(), spirv_options, os, error_msg)) {
/external/mesa3d/src/freedreno/vulkan/
Dtu_shader.c40 const struct spirv_to_nir_options spirv_options = { in tu_spirv_to_nir() local
119 &spirv_options, nir_options); in tu_spirv_to_nir()
/external/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pipeline.c512 const struct spirv_to_nir_options spirv_options = { in lvp_shader_compile_to_ir() local
535 stage, entrypoint_name, &spirv_options, drv_options); in lvp_shader_compile_to_ir()
/external/mesa3d/src/amd/vulkan/
Dradv_shader.c432 const struct spirv_to_nir_options spirv_options = { in radv_shader_compile_to_nir() local
498 &spirv_options, &nir_options); in radv_shader_compile_to_nir()
/external/mesa3d/src/intel/vulkan/
Danv_pipeline.c177 struct spirv_to_nir_options spirv_options = { in anv_shader_compile_to_nir() local
242 stage, entrypoint_name, &spirv_options, nir_options); in anv_shader_compile_to_nir()
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_pipeline.c478 const struct spirv_to_nir_options spirv_options = default_spirv_options; in shader_module_compile_to_nir() local
482 &spirv_options, nir_options); in shader_module_compile_to_nir()