/third_party/mesa3d/src/amd/vulkan/ |
D | radv_pipeline_rt.c | 197 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 …]
|
D | radv_acceleration_structure.c | 712 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/ |
D | nir_lower_global_vars_to_local.c | 39 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()
|
D | nir_split_vars.c | 314 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 …]
|
D | nir_lower_io.c | 823 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 …]
|
D | nir_remove_dead_variables.c | 74 nir_var_shader_temp)) && in add_var_use_deref()
|
D | nir_opt_dead_write_vars.c | 122 nir_var_shader_temp | in remove_dead_write_vars_local()
|
D | nir_lower_variable_initializers.c | 101 nir_var_shader_temp | in nir_lower_variable_initializers()
|
D | nir_lower_phis_to_scalar.c | 98 nir_var_shader_temp); in is_phi_src_scalarizable()
|
D | nir_lower_io_to_temporaries.c | 307 temp->data.mode = nir_var_shader_temp; in create_shadow_temp()
|
D | nir_opt_combine_stores.c | 290 nir_var_shader_temp | in combine_stores_block()
|
D | nir_lower_clip.c | 244 clipvertex->data.mode = nir_var_shader_temp; in lower_clip_outputs()
|
D | nir_opt_copy_prop_vars.c | 155 nir_var_shader_temp | in gather_vars_written() 843 nir_var_shader_temp | in copy_prop_vars_block()
|
D | nir_opt_gcm.c | 199 nir_var_shader_temp)); in is_src_scalarizable()
|
D | nir_serialize.c | 262 if (data.mode == nir_var_shader_temp) in write_variable() 369 var->data.mode = nir_var_shader_temp; in read_variable()
|
D | nir_loop_analyze.c | 1213 nir_var_shader_temp | in force_unroll_array_access()
|
D | nir_deref.c | 480 nir_var_shader_temp | nir_var_function_temp; in nir_compare_deref_paths()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_compiler.c | 631 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/ |
D | v3d_nir_lower_line_smooth.c | 135 nir_var_shader_temp, in make_coverage_var()
|
/third_party/mesa3d/src/compiler/nir/tests/ |
D | vars_tests.cpp | 85 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/ |
D | dxil_nir.c | 123 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/ |
D | st_glsl_to_nir.cpp | 130 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/ |
D | vtn_variables.c | 1534 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/ |
D | ir3_nir_lower_tess.c | 951 var->data.mode = nir_var_shader_temp; in ir3_nir_lower_gs()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_pipeline.c | 587 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_shader_temp, NULL); in lvp_shader_compile_to_ir()
|