Home
last modified time | relevance | path

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

12

/external/mesa3d/src/mesa/state_tracker/
Dst_nir_lower_builtin.c140 nir_variable_create(shader, nir_var_uniform, glsl_vec4_type(), name); in get_variable()
167 if (var->data.mode != nir_var_uniform) in lower_builtin_block()
Dst_glsl_to_nir.cpp240 if ((uniform->data.mode == nir_var_uniform || uniform->data.mode == nir_var_shader_storage) && in st_nir_assign_uniform_locations()
/external/mesa3d/src/compiler/nir/
Dnir_lower_samplers_as_deref.c125 assert(var->data.mode == nir_var_uniform); in lower_deref()
148 var = nir_variable_create(state->shader, nir_var_uniform, deref->deref.type, path); in lower_deref()
Dnir_lower_io.c55 if ((var->data.mode == nir_var_uniform || var->data.mode == nir_var_shader_storage) && in nir_assign_var_locations()
196 case nir_var_uniform: in lower_load()
410 mode != nir_var_uniform) in nir_lower_io_block()
Dnir_remove_dead_variables.c177 if (modes & nir_var_uniform) in nir_remove_dead_variables()
Dnir_opt_peephole_select.c72 case nir_var_uniform: in block_check_for_allowed_instrs()
Dnir_lower_atomics.c93 if (instr->variables[0]->var->data.mode != nir_var_uniform && in lower_instr()
Dnir_validate.c515 (instr->variables[0]->var->data.mode == nir_var_uniform && in validate_intrinsic_instr()
524 (instr->variables[0]->var->data.mode == nir_var_uniform && in validate_intrinsic_instr()
528 instr->variables[0]->var->data.mode != nir_var_uniform && in validate_intrinsic_instr()
537 instr->variables[0]->var->data.mode != nir_var_uniform && in validate_intrinsic_instr()
Dnir_lower_phis_to_scalar.c88 src_intrin->variables[0]->var->data.mode == nir_var_uniform; in is_phi_src_scalarizable()
Dnir_lower_drawpixels.c73 nir_var_uniform, in create_uniform()
Dnir_lower_wpos_ytransform.c55 nir_var_uniform, in get_transform()
Dnir_print.c371 case nir_var_uniform: in get_variable_mode_str()
414 var->data.mode == nir_var_uniform || in print_var_decl()
Dnir_opt_copy_prop_vars.c638 nir_var_shader_in | nir_var_uniform)); in copy_prop_vars_block()
Dnir.c142 case nir_var_uniform: in nir_shader_add_variable()
173 if (mode == nir_var_shader_in || mode == nir_var_uniform) in nir_variable_create()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_bufimage.c53 nir_variable *input_img = nir_variable_create(b.shader, nir_var_uniform, in build_nir_itob_compute_shader()
58 nir_variable *output_img = nir_variable_create(b.shader, nir_var_uniform, in build_nir_itob_compute_shader()
279 nir_variable *input_img = nir_variable_create(b.shader, nir_var_uniform, in build_nir_btoi_compute_shader()
284 nir_variable *output_img = nir_variable_create(b.shader, nir_var_uniform, in build_nir_btoi_compute_shader()
499 nir_variable *input_img = nir_variable_create(b.shader, nir_var_uniform, in build_nir_itoi_compute_shader()
504 nir_variable *output_img = nir_variable_create(b.shader, nir_var_uniform, in build_nir_itoi_compute_shader()
712 nir_variable *output_img = nir_variable_create(b.shader, nir_var_uniform, in build_nir_cleari_compute_shader()
Dradv_meta_resolve_cs.c93 nir_variable *input_img = nir_variable_create(b.shader, nir_var_uniform, in build_resolve_compute_shader()
98 nir_variable *output_img = nir_variable_create(b.shader, nir_var_uniform, in build_resolve_compute_shader()
Dradv_meta_fast_clear.c51 nir_variable *input_img = nir_variable_create(b.shader, nir_var_uniform, in build_dcc_decompress_compute_shader()
56 nir_variable *output_img = nir_variable_create(b.shader, nir_var_uniform, in build_dcc_decompress_compute_shader()
Dradv_meta_blit.c129 nir_variable *sampler = nir_variable_create(b.shader, nir_var_uniform, in build_nir_copy_fragment_shader()
183 nir_variable *sampler = nir_variable_create(b.shader, nir_var_uniform, in build_nir_copy_fragment_shader_depth()
237 nir_variable *sampler = nir_variable_create(b.shader, nir_var_uniform, in build_nir_copy_fragment_shader_stencil()
Dradv_meta_blit2d.c433 nir_variable *sampler = nir_variable_create(b->shader, nir_var_uniform, in build_nir_texel_fetch()
480 nir_variable *sampler = nir_variable_create(b->shader, nir_var_uniform, in build_nir_buffer_fetch()
Dradv_meta_resolve_fs.c69 nir_variable *input_img = nir_variable_create(b.shader, nir_var_uniform, in build_resolve_fragment_shader()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_tcs.c60 var = nir_variable_create(nir, nir_var_uniform, glsl_vec4_type(), "hdr_0"); in create_passthrough_tcs()
62 var = nir_variable_create(nir, nir_var_uniform, glsl_vec4_type(), "hdr_1"); in create_passthrough_tcs()
Dbrw_nir_uniforms.cpp265 var->data.mode = nir_var_uniform; in brw_nir_lower_patch_vertices_in_to_uniform()
Dbrw_program.c57 return nir_lower_io(nir, nir_var_uniform, type_size_scalar_bytes, 0); in brw_nir_lower_uniforms()
61 return nir_lower_io(nir, nir_var_uniform, type_size_vec4_bytes, 0); in brw_nir_lower_uniforms()
/external/mesa3d/src/compiler/spirv/
Dvtn_variables.c1571 nir_mode = nir_var_uniform; in vtn_storage_class_to_mode()
1574 nir_mode = nir_var_uniform; in vtn_storage_class_to_mode()
1581 nir_mode = nir_var_uniform; in vtn_storage_class_to_mode()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c499 NIR_PASS_V(sel->nir, nir_lower_io, nir_var_uniform, type_size, in si_lower_nir()

12