Home
last modified time | relevance | path

Searched refs:nir_var_uniform (Results 1 – 25 of 92) sorted by relevance

1234

/third_party/mesa3d/src/compiler/nir/
Dnir_opt_access.c118 if ((var->data.mode == nir_var_uniform || in gather_intrinsic()
121 if ((var->data.mode == nir_var_uniform || in gather_intrinsic()
192 !(var->data.mode == nir_var_uniform && glsl_type_is_image(type)) && in process_variable()
355 nir_foreach_variable_with_modes(var, shader, nir_var_uniform | in nir_opt_access()
Dnir_lower_drawpixels.c74 nir_var_uniform, in create_uniform()
134 nir_variable_create(b->shader, nir_var_uniform, sampler2D, "drawpix"); in lower_color()
171 state->pixelmap = nir_variable_create(b->shader, nir_var_uniform, in lower_color()
Dnir_lower_readonly_images_to_tex.c52 deref->modes = nir_var_uniform; in replace_image_type_with_sampler()
57 deref->var->data.mode = nir_var_uniform; in replace_image_type_with_sampler()
Dnir_lower_patch_vertices.c34 nir_variable_create(nir, nir_var_uniform, glsl_int_type(), in make_uniform()
Dnir_lower_const_arrays_to_uniforms.c203 uni->data.mode = nir_var_uniform; in lower_const_array_to_uniform()
224 nir_foreach_variable_with_modes(var, shader, nir_var_uniform) { in count_uniforms()
Dnir_lower_alpha_test.c99 nir_var_uniform, in nir_lower_alpha_test()
Dnir_lower_bitmap.c87 nir_variable_create(shader, nir_var_uniform, sampler2D, "bitmap_tex"); in lower_bitmap()
Dnir_lower_point_size_mov.c45 in = nir_variable_create(shader, nir_var_uniform, in lower_impl()
Dnir_lower_pntc_ytransform.c47 nir_var_uniform, in get_pntc_transform()
/third_party/mesa3d/src/gallium/frontends/clover/nir/
Dinvocation.cpp94 uniform->data.mode = nir_var_uniform; in clover_nir_add_image_uniforms()
298 state->printf_buffer = nir_variable_create(b->shader, nir_var_uniform, in clover_lower_nir_instr()
321 nir_variable_create(b->shader, nir_var_uniform, type, in clover_lower_nir_instr()
352 constant_var = nir_variable_create(nir, nir_var_uniform, type, in clover_lower_nir()
538 nir_var_uniform, clover_arg_size_align); in spirv_to_nir()
550 NIR_PASS_V(nir, nir_lower_explicit_io, nir_var_uniform, in spirv_to_nir()
/third_party/mesa3d/src/microsoft/clc/
Dclc_compiler.c84 return lower_image_deref_impl(b, context, new_var_type, nir_var_uniform, context->num_srvs); in lower_read_only_image_deref()
208 … nir_variable *new_input = nir_variable_create(b->shader, nir_var_uniform, glsl_uint_type(), NULL); in clc_lower_input_image_deref()
406 nir_foreach_variable_with_modes(var, nir, nir_var_uniform) in add_kernel_inputs_var()
863 NIR_PASS(progress, nir, nir_lower_vec3_to_vec4, nir_var_mem_generic | nir_var_uniform); in clc_spirv_to_dxil()
876 nir_foreach_variable_with_modes_safe(var, nir, nir_var_uniform) { in clc_spirv_to_dxil()
920 NIR_PASS_V(nir, nir_lower_vars_to_explicit_types, nir_var_uniform, glsl_get_cl_type_size_align); in clc_spirv_to_dxil()
924 nir_foreach_variable_with_modes(var, nir, nir_var_uniform) { in clc_spirv_to_dxil()
981 NIR_PASS_V(nir, nir_remove_dead_variables, nir_var_uniform | nir_var_mem_ubo | in clc_spirv_to_dxil()
985 nir_foreach_variable_with_modes(var, nir, nir_var_uniform) { in clc_spirv_to_dxil()
1038 nir_var_mem_shared | nir_var_function_temp | nir_var_uniform, in clc_spirv_to_dxil()
Dclc_nir.c275 nir_foreach_variable_with_modes(uniform, nir, nir_var_uniform) { in find_identical_const_sampler()
305 assert(sampler->data.mode == nir_var_uniform); in clc_nir_dedupe_const_samplers_instr()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_nir_lower_builtin.c147 nir_variable_create(shader, nir_var_uniform, glsl_vec4_type(), name); in get_variable()
170 if (!nir_deref_mode_is(deref, nir_var_uniform)) in lower_builtin_instr()
Dst_draw_hw_select.c142 b->shader, nir_var_uniform, glsl_uint_type(), "culling_config"); in face_culling()
354 b->shader, nir_var_uniform, glsl_vec4_type(), name); in get_user_clip_plane()
365 b->shader, nir_var_uniform, glsl_float_type(), "depth_scale"); in get_depth_range_transform()
369 b->shader, nir_var_uniform, glsl_float_type(), "depth_transport"); in get_depth_range_transform()
406 b->shader, nir_var_uniform, glsl_uint_type(), "result_offset"); in update_result_buffer()
Dst_glsl_to_nir.cpp185 nir_foreach_variable_with_modes(uniform, nir, nir_var_uniform | in st_nir_assign_uniform_locations()
794 nir_var_uniform | nir_var_mem_ubo | nir_var_mem_ssbo : in st_link_nir()
1003 NIR_PASS_V(nir, nir_lower_io, nir_var_uniform, in st_nir_lower_uniforms()
1007 NIR_PASS_V(nir, nir_lower_io, nir_var_uniform, in st_nir_lower_uniforms()
Dst_pbo.c428 nir_variable_create(b.shader, nir_var_uniform, glsl_vec4_type(), "param"); in create_fs()
493 nir_variable_create(b.shader, nir_var_uniform, in create_fs()
516 nir_variable_create(b.shader, nir_var_uniform, in create_fs()
/third_party/mesa3d/src/asahi/compiler/
Dcmdline.c128 nir_assign_var_locations(nir[i], nir_var_uniform, &nir[i]->num_uniforms, in compile_shader()
138 NIR_PASS_V(nir[i], nir_lower_io, nir_var_uniform, in compile_shader()
/third_party/mesa3d/src/panfrost/bifrost/
Dcmdline.c170 nir_assign_var_locations(nir[i], nir_var_uniform, &nir[i]->num_uniforms, in compile_shader()
183 NIR_PASS_V(nir[i], nir_lower_io, nir_var_uniform, in compile_shader()
/third_party/mesa3d/src/compiler/glsl/
Dgl_nir_linker.h50 nir_foreach_variable_with_modes(var, shader, nir_var_uniform | \
Dgl_nir_lower_atomics.c103 if (var->data.mode != nir_var_uniform && in lower_deref_instr()
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_cmdline.c177 nir_assign_var_locations(nir, nir_var_uniform, &nir->num_uniforms, in load_glsl()
185 nir_var_shader_in | nir_var_shader_out | nir_var_uniform, in load_glsl()
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_dcc_retile.c47 nir_variable *input_dcc = nir_variable_create(b.shader, nir_var_uniform, buf_type, "dcc_in"); in build_dcc_retile_compute_shader()
50 nir_variable *output_dcc = nir_variable_create(b.shader, nir_var_uniform, buf_type, "dcc_out"); in build_dcc_retile_compute_shader()
Dradv_meta_fmask_copy.c38 nir_variable *input_img = nir_variable_create(b.shader, nir_var_uniform, sampler_type, "s_tex"); in build_fmask_copy_compute_shader()
42 nir_variable *output_img = nir_variable_create(b.shader, nir_var_uniform, img_type, "out_img"); in build_fmask_copy_compute_shader()
/third_party/mesa3d/src/intel/compiler/
Dbrw_kernel.c360 nir_var_uniform | in brw_kernel_from_spirv()
428 NIR_PASS_V(nir, nir_lower_explicit_io, nir_var_uniform, in brw_kernel_from_spirv()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_nir_passes.c50 nir_var_uniform, in d3d12_get_state_var()
533 nir_foreach_variable_with_modes(var, b->shader, nir_var_uniform) { in lower_instr()
588 nir_foreach_variable_with_modes_safe(var, nir, nir_var_uniform) { in d3d12_lower_state_vars()
622 nir_foreach_variable_with_modes_safe(var, nir, nir_var_uniform) { in d3d12_lower_state_vars()

1234