/third_party/mesa3d/src/compiler/nir/ |
D | nir_opt_access.c | 118 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()
|
D | nir_lower_drawpixels.c | 74 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()
|
D | nir_lower_readonly_images_to_tex.c | 52 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()
|
D | nir_lower_patch_vertices.c | 34 nir_variable_create(nir, nir_var_uniform, glsl_int_type(), in make_uniform()
|
D | nir_lower_const_arrays_to_uniforms.c | 203 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()
|
D | nir_lower_alpha_test.c | 99 nir_var_uniform, in nir_lower_alpha_test()
|
D | nir_lower_bitmap.c | 87 nir_variable_create(shader, nir_var_uniform, sampler2D, "bitmap_tex"); in lower_bitmap()
|
D | nir_lower_point_size_mov.c | 45 in = nir_variable_create(shader, nir_var_uniform, in lower_impl()
|
D | nir_lower_pntc_ytransform.c | 47 nir_var_uniform, in get_pntc_transform()
|
/third_party/mesa3d/src/gallium/frontends/clover/nir/ |
D | invocation.cpp | 94 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/ |
D | clc_compiler.c | 84 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()
|
D | clc_nir.c | 275 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/ |
D | st_nir_lower_builtin.c | 147 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()
|
D | st_draw_hw_select.c | 142 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()
|
D | st_glsl_to_nir.cpp | 185 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()
|
D | st_pbo.c | 428 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/ |
D | cmdline.c | 128 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/ |
D | cmdline.c | 170 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/ |
D | gl_nir_linker.h | 50 nir_foreach_variable_with_modes(var, shader, nir_var_uniform | \
|
D | gl_nir_lower_atomics.c | 103 if (var->data.mode != nir_var_uniform && in lower_deref_instr()
|
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/ |
D | ir3_cmdline.c | 177 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/ |
D | radv_meta_dcc_retile.c | 47 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()
|
D | radv_meta_fmask_copy.c | 38 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/ |
D | brw_kernel.c | 360 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/ |
D | d3d12_nir_passes.c | 50 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()
|