Home
last modified time | relevance | path

Searched refs:nir_var_shader_temp (Results 1 – 25 of 40) sorted by relevance

12

/third_party/mesa3d/src/amd/vulkan/
Dradv_pipeline_rt.c197 vars.idx = nir_variable_create(shader, nir_var_shader_temp, glsl_uint_type(), "idx"); in create_rt_variables()
198 vars.arg = nir_variable_create(shader, nir_var_shader_temp, glsl_uint_type(), "arg"); in create_rt_variables()
199 vars.stack_ptr = nir_variable_create(shader, nir_var_shader_temp, glsl_uint_type(), "stack_ptr"); in create_rt_variables()
201 nir_variable_create(shader, nir_var_shader_temp, glsl_uint64_t_type(), "shader_record_ptr"); in create_rt_variables()
205 nir_variable_create(shader, nir_var_shader_temp, glsl_uint64_t_type(), "accel_struct"); in create_rt_variables()
206 vars.flags = nir_variable_create(shader, nir_var_shader_temp, glsl_uint_type(), "ray_flags"); in create_rt_variables()
207 vars.cull_mask = nir_variable_create(shader, nir_var_shader_temp, glsl_uint_type(), "cull_mask"); in create_rt_variables()
209 nir_variable_create(shader, nir_var_shader_temp, glsl_uint_type(), "sbt_offset"); in create_rt_variables()
211 nir_variable_create(shader, nir_var_shader_temp, glsl_uint_type(), "sbt_stride"); in create_rt_variables()
213 nir_variable_create(shader, nir_var_shader_temp, glsl_uint_type(), "miss_index"); in create_rt_variables()
[all …]
Dradv_acceleration_structure.c712 nir_variable_create(b->shader, nir_var_shader_temp, uvec3_type, "indices"); in get_indices()
766 nir_variable_create(b->shader, nir_var_shader_temp, vec3_type, "vertex0"), in get_vertices()
767 nir_variable_create(b->shader, nir_var_shader_temp, vec3_type, "vertex1"), in get_vertices()
768 nir_variable_create(b->shader, nir_var_shader_temp, vec3_type, "vertex2")}; in get_vertices()
975 nir_variable_create(b.shader, nir_var_shader_temp, glsl_vec4_type(), "transform0"), in build_leaf_shader()
976 nir_variable_create(b.shader, nir_var_shader_temp, glsl_vec4_type(), "transform1"), in build_leaf_shader()
977 nir_variable_create(b.shader, nir_var_shader_temp, glsl_vec4_type(), "transform2"), in build_leaf_shader()
1065 nir_variable_create(b.shader, nir_var_shader_temp, glsl_uint64_t_type(), "instance_addr"); in build_leaf_shader()
1103 nir_variable_create(b.shader, nir_var_shader_temp, vec3_type, "min_bound"), in build_leaf_shader()
1104 nir_variable_create(b.shader, nir_var_shader_temp, vec3_type, "max_bound"), in build_leaf_shader()
[all …]
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_global_vars_to_local.c39 if (var->data.mode != nir_var_shader_temp) in register_var_use()
86 nir_foreach_variable_with_modes_safe(var, shader, nir_var_shader_temp) { in nir_lower_global_vars_to_local()
Dnir_split_vars.c314 assert((modes & (nir_var_shader_temp | nir_var_function_temp)) == modes); in nir_split_struct_vars()
317 if (modes & nir_var_shader_temp) { in nir_split_struct_vars()
320 nir_var_shader_temp, in nir_split_struct_vars()
878 assert((modes & (nir_var_shader_temp | nir_var_function_temp)) == modes); in nir_split_array_vars()
881 if (modes & nir_var_shader_temp) { in nir_split_array_vars()
884 nir_var_shader_temp, in nir_split_array_vars()
919 if (modes & nir_var_shader_temp) { in nir_split_array_vars()
922 nir_var_shader_temp, in nir_split_array_vars()
1657 assert((modes & (nir_var_shader_temp | nir_var_function_temp)) == modes); in nir_shrink_vec_array_vars()
1686 if (modes & nir_var_shader_temp) { in nir_shrink_vec_array_vars()
[all …]
Dnir_lower_io.c823 nir_var_shader_temp | in build_addr_iadd()
867 nir_var_shader_temp | nir_var_function_temp | in build_addr_for_var()
878 case nir_var_shader_temp: in build_addr_for_var()
912 case nir_var_shader_temp: in build_addr_for_var()
943 case nir_var_shader_temp: in build_runtime_addr_mode_check()
1182 assert(!(modes & ~(nir_var_function_temp | nir_var_shader_temp | in canonicalize_generic_modes()
1186 if (modes & nir_var_shader_temp) { in canonicalize_generic_modes()
1187 modes &= ~nir_var_shader_temp; in canonicalize_generic_modes()
1283 case nir_var_shader_temp: in build_explicit_io_load()
1425 mode == nir_var_shader_temp || in build_explicit_io_load()
[all …]
Dnir_remove_dead_variables.c74 nir_var_shader_temp)) && in add_var_use_deref()
Dnir_opt_dead_write_vars.c122 nir_var_shader_temp | in remove_dead_write_vars_local()
Dnir_lower_variable_initializers.c101 nir_var_shader_temp | in nir_lower_variable_initializers()
Dnir_lower_phis_to_scalar.c98 nir_var_shader_temp); in is_phi_src_scalarizable()
Dnir_lower_io_to_temporaries.c307 temp->data.mode = nir_var_shader_temp; in create_shadow_temp()
Dnir_opt_combine_stores.c290 nir_var_shader_temp | in combine_stores_block()
Dnir_lower_clip.c244 clipvertex->data.mode = nir_var_shader_temp; in lower_clip_outputs()
Dnir_opt_copy_prop_vars.c155 nir_var_shader_temp | in gather_vars_written()
843 nir_var_shader_temp | in copy_prop_vars_block()
Dnir_opt_gcm.c199 nir_var_shader_temp)); in is_src_scalarizable()
Dnir_serialize.c262 if (data.mode == nir_var_shader_temp) in write_variable()
369 var->data.mode = nir_var_shader_temp; in read_variable()
Dnir_loop_analyze.c1213 nir_var_shader_temp | in force_unroll_array_access()
Dnir_deref.c480 nir_var_shader_temp | nir_var_function_temp; in nir_compare_deref_paths()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_compiler.c631 var->data.mode = nir_var_shader_temp; in decompose_attribs()
635 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_shader_temp, NULL); in decompose_attribs()
780 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_shader_temp, NULL); in zink_compiler_assign_io()
851 var->data.mode = nir_var_shader_temp; in zink_shader_compile()
854 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_shader_temp, NULL); in zink_shader_compile()
868 fbfetch->data.mode = nir_var_shader_temp; in zink_shader_compile()
870 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_shader_temp, NULL); in zink_shader_compile()
1002 var->data.mode = nir_var_shader_temp; in unbreak_bos()
1005 NIR_PASS_V(shader, nir_remove_dead_variables, nir_var_shader_temp, NULL); in unbreak_bos()
1170 NIR_PASS_V(shader, nir_remove_dead_variables, nir_var_shader_temp, NULL); in lower_bindless()
[all …]
/third_party/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_line_smooth.c135 nir_var_shader_temp, in make_coverage_var()
/third_party/mesa3d/src/compiler/nir/tests/
Dvars_tests.cpp85 nir_foreach_variable_with_modes(var, b->shader, nir_var_shader_temp) in count_shader_temp_vars()
307 nir_variable **g = create_many_int(nir_var_shader_temp, "g", 3); in TEST_F()
1885 nir_variable *temp = create_var(nir_var_shader_temp, glsl_array_type(glsl_int_type(), 4, 0), in TEST_F()
1896 bool progress = nir_split_array_vars(b->shader, nir_var_shader_temp); in TEST_F()
2191 nir_variable *x = create_int(nir_var_shader_temp, "x"); in TEST_F()
2192 nir_variable *y = create_int(nir_var_shader_temp, "y"); in TEST_F()
2214 nir_variable *x = create_int(nir_var_shader_temp, "x"); in TEST_F()
2215 nir_variable *y = create_int(nir_var_shader_temp, "y"); in TEST_F()
2216 nir_variable *z = create_int(nir_var_shader_temp, "z"); in TEST_F()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_nir.c123 if (!nir_deref_mode_is(deref, nir_var_shader_temp)) in lower_load_deref()
573 deref->modes = nir_var_shader_temp; in ubo_to_temp_patch_deref_mode()
651 var->data.mode = nir_var_shader_temp; in dxil_nir_lower_ubo_to_temp()
679 deref->var->data.mode == nir_var_shader_temp) in dxil_nir_lower_ubo_to_temp()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_glsl_to_nir.cpp130 var->data.mode = nir_var_shader_temp; in st_nir_assign_vs_in_locations()
271 nir_var_function_temp | nir_var_shader_temp | in st_nir_opts()
/third_party/mesa3d/src/compiler/spirv/
Dvtn_variables.c1534 nir_mode = nir_var_shader_temp; in vtn_storage_class_to_mode()
1558 nir_mode = nir_var_shader_temp; in vtn_storage_class_to_mode()
1566 nir_mode = nir_var_shader_temp; in vtn_storage_class_to_mode()
1785 nir_foreach_variable_with_modes(var, b->nb.shader, nir_var_shader_temp) { in vtn_get_call_payload_for_location()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_tess.c951 var->data.mode = nir_var_shader_temp; in ir3_nir_lower_gs()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_pipeline.c587 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_shader_temp, NULL); in lvp_shader_compile_to_ir()

12