/aosp_15_r20/external/mesa3d/src/amd/vulkan/nir/ |
H A D | radv_nir_rt_shader.c | 231 vars.idx = nir_variable_create(shader, nir_var_shader_temp, glsl_uint_type(), "idx"); in create_rt_variables() 232 …vars.shader_addr = nir_variable_create(shader, nir_var_shader_temp, glsl_uint64_t_type(), "shader_… in create_rt_variables() 233 …vars.traversal_addr = nir_variable_create(shader, nir_var_shader_temp, glsl_uint64_t_type(), "trav… in create_rt_variables() 234 vars.arg = nir_variable_create(shader, nir_var_shader_temp, glsl_uint_type(), "arg"); in create_rt_variables() 235 vars.stack_ptr = nir_variable_create(shader, nir_var_shader_temp, glsl_uint_type(), "stack_ptr"); in create_rt_variables() 236 …vars.shader_record_ptr = nir_variable_create(shader, nir_var_shader_temp, glsl_uint64_t_type(), "s… in create_rt_variables() 238 …vars.launch_sizes[0] = nir_variable_create(shader, nir_var_shader_temp, glsl_uint_type(), "launch_… in create_rt_variables() 239 …vars.launch_sizes[1] = nir_variable_create(shader, nir_var_shader_temp, glsl_uint_type(), "launch_… in create_rt_variables() 240 …vars.launch_sizes[2] = nir_variable_create(shader, nir_var_shader_temp, glsl_uint_type(), "launch_… in create_rt_variables() 242 …vars.launch_ids[0] = nir_variable_create(shader, nir_var_shader_temp, glsl_uint_type(), "launch_id… in create_rt_variables() [all …]
|
H A D | radv_nir_rt_common.c | 53 …nir_variable *distances = nir_variable_create(b->shader, nir_var_shader_temp, vec4_type, "distance… in intersect_ray_amd_software_box() 57 …nir_variable *child_indices = nir_variable_create(b->shader, nir_var_shader_temp, uvec4_type, "chi… in intersect_ray_amd_software_box() 164 nir_variable *result = nir_variable_create(b->shader, nir_var_shader_temp, vec4_type, "result"); in intersect_ray_amd_software_tri()
|
/aosp_15_r20/external/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_ray_tracing_pipeline.c | 323 … state->bvh_base = nir_variable_create(nir, nir_var_shader_temp, glsl_uint64_t_type(), "bvh_base"); in lvp_ray_tracing_state_init() 324 state->flags = nir_variable_create(nir, nir_var_shader_temp, glsl_uint_type(), "flags"); in lvp_ray_tracing_state_init() 325 state->cull_mask = nir_variable_create(nir, nir_var_shader_temp, glsl_uint_type(), "cull_mask"); in lvp_ray_tracing_state_init() 326 … state->sbt_offset = nir_variable_create(nir, nir_var_shader_temp, glsl_uint_type(), "sbt_offset"); in lvp_ray_tracing_state_init() 327 … state->sbt_stride = nir_variable_create(nir, nir_var_shader_temp, glsl_uint_type(), "sbt_stride"); in lvp_ray_tracing_state_init() 328 … state->miss_index = nir_variable_create(nir, nir_var_shader_temp, glsl_uint_type(), "miss_index"); in lvp_ray_tracing_state_init() 329 state->origin = nir_variable_create(nir, nir_var_shader_temp, glsl_vec_type(3), "origin"); in lvp_ray_tracing_state_init() 330 state->tmin = nir_variable_create(nir, nir_var_shader_temp, glsl_float_type(), "tmin"); in lvp_ray_tracing_state_init() 331 state->dir = nir_variable_create(nir, nir_var_shader_temp, glsl_vec_type(3), "dir"); in lvp_ray_tracing_state_init() 332 state->tmax = nir_variable_create(nir, nir_var_shader_temp, glsl_float_type(), "tmax"); in lvp_ray_tracing_state_init() [all …]
|
H A D | lvp_nir_ray_tracing.c | 68 nir_variable_create(b->shader, nir_var_shader_temp, vec2_type, "distances"); in lvp_build_intersect_ray_box() 72 nir_variable_create(b->shader, nir_var_shader_temp, uvec2_type, "child_indices"); in lvp_build_intersect_ray_box() 160 nir_variable *result = nir_variable_create(b->shader, nir_var_shader_temp, vec4_type, "result"); in lvp_build_intersect_ray_tri()
|
H A D | lvp_lower_exec_graph.c | 144 var->data.mode = nir_var_shader_temp; in lvp_lower_node_payload_vars()
|
/aosp_15_r20/external/mesa3d/src/compiler/glsl/ |
H A D | gl_nir_opt_dead_builtin_varyings.c | 253 var->data.mode = nir_var_shader_temp; in replace_varying() 259 var->data.mode = nir_var_shader_temp; in replace_varying() 263 var->data.mode = nir_var_shader_temp; in replace_varying() 268 var->data.mode = nir_var_shader_temp; in replace_varying() 311 new_var[i] = create_new_var(shader, name, nir_var_shader_temp, in prepare_array() 377 create_new_var(shader->Program->nir, name, nir_var_shader_temp, in replace_varyings() 384 create_new_var(shader->Program->nir, name, nir_var_shader_temp, in replace_varyings() 395 create_new_var(shader->Program->nir, name, nir_var_shader_temp, in replace_varyings()
|
H A D | gl_nir_lower_discard_flow.c | 143 discarded->data.mode = nir_var_shader_temp; in gl_nir_lower_discard_flow()
|
H A D | gl_nir_linker.c | 63 nir_var_function_temp | nir_var_shader_temp | in gl_nir_opts() 324 case nir_var_shader_temp: in gl_nir_mode_string() 1313 …NIR_PASS(_, nir, nir_lower_mediump_vars, nir_var_function_temp | nir_var_shader_temp | nir_var_mem… in preprocess_shader() 1318 nir_var_function_temp | nir_var_shader_temp | in preprocess_shader() 1733 if (var->data.mode == nir_var_shader_temp && in cross_validate_globals()
|
/aosp_15_r20/external/mesa3d/src/intel/compiler/ |
H A D | brw_kernel.c | 359 nir_var_shader_temp | nir_var_function_temp | in brw_kernel_from_spirv() 368 nir_var_shader_temp | nir_var_function_temp | in brw_kernel_from_spirv() 409 nir_var_shader_temp | nir_var_function_temp | in brw_kernel_from_spirv() 439 nir_var_shader_temp | nir_var_function_temp | in brw_kernel_from_spirv() 652 NIR_PASS_V(nir, nir_lower_variable_initializers, ~(nir_var_shader_temp | in brw_nir_from_spirv() 715 nir_var_mem_shared | nir_var_function_temp | nir_var_shader_temp | in brw_nir_from_spirv() 739 nir_var_mem_shared | nir_var_function_temp | nir_var_shader_temp | nir_var_uniform, in brw_nir_from_spirv() 774 nir_var_shader_temp | nir_var_function_temp | in brw_nir_from_spirv()
|
/aosp_15_r20/external/mesa3d/src/compiler/nir/ |
H A D | nir_lower_io.c | 904 nir_var_shader_temp | in nir_build_addr_iadd() 954 nir_var_shader_temp | nir_var_function_temp | in build_addr_for_var() 966 case nir_var_shader_temp: in build_addr_for_var() 1004 case nir_var_shader_temp: in build_addr_for_var() 1039 case nir_var_shader_temp: in build_runtime_addr_mode_check() 1349 assert(!(modes & ~(nir_var_function_temp | nir_var_shader_temp | in canonicalize_generic_modes() 1353 if (modes & nir_var_shader_temp) { in canonicalize_generic_modes() 1354 modes &= ~nir_var_shader_temp; in canonicalize_generic_modes() 1481 case nir_var_shader_temp: in build_explicit_io_load() 1625 mode == nir_var_shader_temp || in build_explicit_io_load() [all …]
|
H A D | nir_lower_global_vars_to_local.c | 35 if (var->data.mode != nir_var_shader_temp) in register_var_use() 80 nir_foreach_variable_with_modes_safe(var, shader, nir_var_shader_temp) { in nir_lower_global_vars_to_local()
|
H A D | nir_opt_ray_queries.c | 141 nir_var_shader_temp | nir_var_function_temp, in nir_opt_ray_queries() 414 nir_remove_dead_variables(shader, nir_var_shader_temp | nir_var_function_temp, in nir_opt_ray_query_ranges()
|
H A D | nir_lower_clip_cull_distance_arrays.c | 380 state->old_distance_out_var->data.mode = nir_var_shader_temp; in lower_distance_to_vec4() 385 state->old_distance_in_var->data.mode = nir_var_shader_temp; in lower_distance_to_vec4()
|
H A D | nir_opt_load_store_vectorize.c | 100 LOAD(nir_var_shader_temp, stack, -1, -1, -1, 1) in get_info() 101 STORE(nir_var_shader_temp, stack, -1, -1, -1, 0, 1) in get_info() 102 LOAD(nir_var_shader_temp, scratch, -1, 0, -1, 1) in get_info() 103 STORE(nir_var_shader_temp, scratch, -1, 1, -1, 0, 1) in get_info() 587 restrict_modes |= nir_var_shader_temp | nir_var_function_temp; in create_entry()
|
H A D | nir_remove_dead_variables.c | 74 nir_var_shader_temp)) && in add_var_use_deref()
|
H A D | nir_opt_dead_write_vars.c | 122 nir_var_shader_temp | in remove_dead_write_vars_local()
|
H A D | nir_lower_phis_to_scalar.c | 91 nir_var_shader_temp); in is_phi_src_scalarizable()
|
/aosp_15_r20/external/mesa3d/src/vulkan/runtime/ |
H A D | vk_texcompress_etc2.c | 185 …nir_variable *payload_var = nir_variable_create(b.shader, nir_var_shader_temp, glsl_vec4_type(), "… in etc2_build_shader() 203 …nir_variable *color = nir_variable_create(b.shader, nir_var_shader_temp, glsl_vec4_type(), "color"… in etc2_build_shader() 220 …nir_variable *punchthrough = nir_variable_create(b.shader, nir_var_shader_temp, glsl_bool_type(), … in etc2_build_shader() 224 …nir_variable *etc1_compat = nir_variable_create(b.shader, nir_var_shader_temp, glsl_bool_type(), "… in etc2_build_shader() 228 nir_variable_create(b.shader, nir_var_shader_temp, glsl_float_type(), "alpha_result"); in etc2_build_shader() 241 …nir_variable *rgb_result = nir_variable_create(b.shader, nir_var_shader_temp, uvec3_type, "rgb_res… in etc2_build_shader() 242 …nir_variable *base_rgb = nir_variable_create(b.shader, nir_var_shader_temp, uvec3_type, "base_rgb"… in etc2_build_shader()
|
/aosp_15_r20/external/mesa3d/src/amd/vulkan/ |
H A D | radv_device_generated_commands.c | 939 …nir_variable *offset = nir_variable_create(b->shader, nir_var_shader_temp, glsl_uint_type(), "offs… in build_dgc_buffer_tail() 1332 …nir_variable *pc_idx = nir_variable_create(b->shader, nir_var_shader_temp, glsl_uint_type(), "pc_i… in dgc_emit_push_constant_for_stage() 1435 …nir_variable *num_records = nir_variable_create(b->shader, nir_var_shader_temp, glsl_uint_type(), … in dgc_write_vertex_descriptor() 1540 …nir_variable *vbo_idx = nir_variable_create(b->shader, nir_var_shader_temp, glsl_uint_type(), "vbo… in dgc_emit_vertex_buffer() 1557 …nir_variable *va_var = nir_variable_create(b->shader, nir_var_shader_temp, glsl_uint64_t_type(), "… in dgc_emit_vertex_buffer() 1558 …nir_variable *size_var = nir_variable_create(b->shader, nir_var_shader_temp, glsl_uint_type(), "si… in dgc_emit_vertex_buffer() 1559 …nir_variable *stride_var = nir_variable_create(b->shader, nir_var_shader_temp, glsl_uint_type(), "… in dgc_emit_vertex_buffer() 1612 …nir_variable *vbo_data = nir_variable_create(b->shader, nir_var_shader_temp, glsl_uvec4_type(), "v… in dgc_emit_vertex_buffer() 1857 …nir_variable *offset = nir_variable_create(b->shader, nir_var_shader_temp, glsl_uint_type(), "offs… in dgc_emit_bind_pipeline() 1965 …nir_variable *count_var = nir_variable_create(b.shader, nir_var_shader_temp, glsl_uint_type(), "se… in build_dgc_prepare_shader() [all …]
|
/aosp_15_r20/external/mesa3d/src/asahi/lib/ |
H A D | agx_nir_lower_gs.c | 656 shader, nir_var_shader_temp, glsl_vector_type(GLSL_TYPE_UINT, comps), in agx_nir_create_gs_rast_shader() 660 shader, nir_var_shader_temp, glsl_vector_type(GLSL_TYPE_UINT, comps), in agx_nir_create_gs_rast_shader() 1228 nir_var_shader_temp | nir_var_function_temp | nir_var_mem_shared, in link_libagx() 1233 nir_var_shader_temp | nir_var_function_temp | nir_var_mem_shared | in link_libagx() 1293 nir_var_shader_temp); in agx_nir_lower_gs() 1368 gs, nir_var_shader_temp, in agx_nir_lower_gs() 1395 nir_var_shader_temp); in agx_nir_lower_gs()
|
/aosp_15_r20/external/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_compiler.c | 645 state.prev_pos = nir_variable_create(shader, nir_var_shader_temp, in lower_line_stipple_gs() 648 state.pos_counter = nir_variable_create(shader, nir_var_shader_temp, in lower_line_stipple_gs() 651 state.stipple_counter = nir_variable_create(shader, nir_var_shader_temp, in lower_line_stipple_gs() 937 nir_variable_create(shader, nir_var_shader_temp, in lower_line_smooth_gs() 942 nir_variable_create(shader, nir_var_shader_temp, in lower_line_smooth_gs() 970 state.prev_pos = nir_variable_create(shader, nir_var_shader_temp, in lower_line_smooth_gs() 973 state.pos_counter = nir_variable_create(shader, nir_var_shader_temp, in lower_line_smooth_gs() 1006 stipple_pattern = nir_variable_create(shader, nir_var_shader_temp, in lower_line_smooth_fs() 2156 var->data.mode = nir_var_shader_temp; in decompose_attribs() 2160 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_shader_temp, NULL); in decompose_attribs() [all …]
|
/aosp_15_r20/external/mesa3d/src/asahi/clc/ |
H A D | asahi_clc.c | 216 nir_var_shader_temp | nir_var_function_temp | nir_var_mem_shared | in compile() 223 nir_var_uniform | nir_var_shader_temp | nir_var_function_temp | in compile() 235 nir_var_shader_temp | nir_var_function_temp | nir_var_mem_shared | in compile()
|
/aosp_15_r20/external/mesa3d/src/microsoft/clc/ |
H A D | clc_compiler.c | 869 NIR_PASS_V(nir, nir_lower_variable_initializers, ~(nir_var_function_temp | nir_var_shader_temp)); in clc_spirv_to_dxil() 961 NIR_PASS_V(nir, nir_split_struct_vars, nir_var_shader_temp); in clc_spirv_to_dxil() 962 NIR_PASS_V(nir, dxil_nir_flatten_var_arrays, nir_var_shader_temp); in clc_spirv_to_dxil() 963 NIR_PASS_V(nir, dxil_nir_lower_var_bit_size, nir_var_shader_temp, in clc_spirv_to_dxil() 968 NIR_PASS_V(nir, clc_change_variable_mode, nir_var_shader_temp, nir_var_mem_constant); in clc_spirv_to_dxil()
|
/aosp_15_r20/external/mesa3d/src/compiler/nir/tests/ |
H A D | vars_tests.cpp | 83 nir_foreach_variable_with_modes(var, b->shader, nir_var_shader_temp) in count_shader_temp_vars() 292 nir_variable **g = create_many_int(nir_var_shader_temp, "g", 3); in TEST_F() 2060 nir_variable *temp = create_var(nir_var_shader_temp, glsl_array_type(glsl_int_type(), 4, 0), in TEST_F() 2071 bool progress = nir_split_array_vars(b->shader, nir_var_shader_temp); in TEST_F() 2436 nir_variable *x = create_int(nir_var_shader_temp, "x"); in TEST_F() 2437 nir_variable *y = create_int(nir_var_shader_temp, "y"); in TEST_F() 2459 nir_variable *x = create_int(nir_var_shader_temp, "x"); in TEST_F() 2460 nir_variable *y = create_int(nir_var_shader_temp, "y"); in TEST_F() 2461 nir_variable *z = create_int(nir_var_shader_temp, "z"); in TEST_F()
|
/aosp_15_r20/external/mesa3d/src/broadcom/compiler/ |
H A D | v3d_nir_lower_line_smooth.c | 141 nir_var_shader_temp, in make_coverage_var()
|