Home
last modified time | relevance | path

Searched refs:nir_var_mem_constant (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/gallium/frontends/clover/nir/
Dinvocation.cpp488 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_mem_constant, NULL); in spirv_to_nir()
489 NIR_PASS_V(nir, nir_lower_vars_to_explicit_types, nir_var_mem_constant, in spirv_to_nir()
496 nir_var_mem_constant); in spirv_to_nir()
498 NIR_PASS_V(nir, nir_lower_explicit_io, nir_var_mem_constant, in spirv_to_nir()
523 NIR_PASS_V(nir, nir_lower_explicit_io, nir_var_mem_constant, in spirv_to_nir()
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_constant_folding.c116 if (!nir_deref_mode_is(deref, nir_var_mem_constant)) in const_value_for_deref()
125 assert(var->data.mode == nir_var_mem_constant); in const_value_for_deref()
Dnir_lower_io.c868 nir_var_mem_push_const | nir_var_mem_constant)); in build_addr_for_var()
886 case nir_var_mem_constant: in build_addr_for_var()
1296 case nir_var_mem_constant: in build_explicit_io_load()
2259 case nir_var_mem_constant: in lower_vars_to_explicit()
2302 case nir_var_mem_constant: in lower_vars_to_explicit()
2330 nir_var_mem_shared | nir_var_mem_global | nir_var_mem_constant | in nir_lower_vars_to_explicit_types()
2347 if (modes & nir_var_mem_constant) in nir_lower_vars_to_explicit_types()
2348 … progress |= lower_vars_to_explicit(shader, &shader->variables, nir_var_mem_constant, type_info); in nir_lower_vars_to_explicit_types()
Dnir_print.c465 case nir_var_mem_constant: in get_variable_mode_str()
Dnir.h138 nir_var_mem_constant = (1 << 11), enumerator
144 nir_var_system_value | nir_var_mem_constant |
Dnir_validate.c1750 nir_var_mem_constant; in nir_validate_shader()
Dnir.c196 case nir_var_mem_constant: in nir_shader_add_variable()
/third_party/mesa3d/src/microsoft/clc/
Dclc_compiler.c449 nir_foreach_variable_with_modes(var, nir, nir_var_mem_constant) { in clc_lower_constant_to_ssbo()
473 if (deref->modes != nir_var_mem_constant) in clc_lower_constant_to_ssbo()
1030 …r, nir_remove_dead_variables, nir_var_uniform | nir_var_mem_ubo | nir_var_mem_constant | nir_var_f… in clc_spirv_to_dxil()
1067 … nir_var_mem_shared | nir_var_function_temp | nir_var_mem_global | nir_var_mem_constant, in clc_spirv_to_dxil()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_rt.c220 nir_var_mem_constant | in lower_rt_io_and_scratch()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir.c586 assert(nir_deref_mode_is(deref, nir_var_mem_constant)); in ubo_to_temp_update_entry()
626 if (!nir_deref_mode_is(deref, nir_var_mem_constant) || in dxil_nir_lower_ubo_to_temp()
677 if (nir_deref_mode_is(deref, nir_var_mem_constant) && in dxil_nir_lower_ubo_to_temp()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_variables.c422 nir_var_mem_constant, in vtn_pointer_dereference()
1503 nir_mode = nir_var_mem_constant; in vtn_storage_class_to_mode()
1578 nir_mode = nir_var_mem_constant; in vtn_storage_class_to_mode()
Dvtn_opencl.c735 vtn_fail_if(deref == NULL || !nir_deref_mode_is(deref, nir_var_mem_constant), in vtn_add_printf_string()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader.c730 nir_lower_explicit_io(nir, nir_var_mem_global | nir_var_mem_constant, in radv_shader_compile_to_nir()
/third_party/mesa3d/docs/relnotes/
D20.3.0.rst2653 - nir: Add a new nir_var_mem_constant variable mode
2657 - nir/lower_io: Add support for nir_var_mem_constant
2659 - spirv: Use nir_var_mem_constant for UniformConstant data in CL
2663 - clover/nir: Use nir_var_mem_constant for \__constant memory
2778 - nir/constant_folding: Fold load_deref of nir_var_mem_constant