Home
last modified time | relevance | path

Searched refs:num_state_slots (Results 1 – 19 of 19) sorted by relevance

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_patch_vertices.c36 var->num_state_slots = 1; in make_uniform()
37 var->state_slots = ralloc_array(var, nir_state_slot, var->num_state_slots); in make_uniform()
Dnir_lower_point_size_mov.c48 in->num_state_slots = 1; in lower_impl()
Dnir_clone.c158 nvar->num_state_slots = var->num_state_slots; in nir_variable_clone()
159 if (var->num_state_slots) { in nir_variable_clone()
160 nvar->state_slots = ralloc_array(nvar, nir_state_slot, var->num_state_slots); in nir_variable_clone()
162 var->num_state_slots * sizeof(nir_state_slot)); in nir_variable_clone()
Dnir_lower_alpha_test.c102 var->num_state_slots = 1; in nir_lower_alpha_test()
Dnir_serialize.c211 unsigned num_state_slots:7; member
234 assert(var->num_state_slots < (1 << 7)); in write_variable()
247 flags.u.num_state_slots = var->num_state_slots; in write_variable()
322 for (unsigned i = 0; i < var->num_state_slots; i++) { in write_variable()
387 var->num_state_slots = flags.u.num_state_slots; in read_variable()
388 if (var->num_state_slots != 0) { in read_variable()
390 var->num_state_slots); in read_variable()
391 for (unsigned i = 0; i < var->num_state_slots; i++) { in read_variable()
Dnir_lower_pntc_ytransform.c51 var->num_state_slots = 1; in get_pntc_transform()
Dnir_lower_wpos_ytransform.c59 var->num_state_slots = 1; in get_transform()
Dnir_lower_drawpixels.c77 var->num_state_slots = 1; in create_uniform()
Dnir_lower_clip.c219 var->num_state_slots = 1; in get_ucp()
Dnir.h631 uint16_t num_state_slots; /**< Number of state slots used */ member
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_nir_passes.c53 var->num_state_slots = 1; in get_state_var()
434 variable->num_state_slots != 1 || in lower_instr()
478 if (var->num_state_slots == 1 && in d3d12_lower_state_vars()
512 if (var->num_state_slots == 1 && in d3d12_lower_state_vars()
527 ubo->num_state_slots = 1; in d3d12_lower_state_vars()
Dd3d12_lower_point_sprite.c253 state.uniform->num_state_slots = 1; in d3d12_lower_point_sprite()
/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_nir_uniforms.cpp39 for (unsigned int i = 0; i < var->num_state_slots; i++) { in brw_nir_setup_glsl_builtin_uniform()
231 if (var->num_state_slots > 0) { in brw_nir_setup_glsl_uniforms()
Dbrw_link.cpp352 for (unsigned int i = 0; i < var->num_state_slots; i++) { in brw_link_shader()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_nir_lower_builtin.c155 var->num_state_slots = 1; in get_variable()
Dst_glsl_to_nir.cpp490 for (unsigned int i = 0; i < var->num_state_slots; i++) { in st_glsl_to_nir_post_opts()
/third_party/mesa3d/src/compiler/glsl/
Dglsl_to_nir.cpp661 var->num_state_slots = ir->get_num_state_slots(); in visit()
662 if (var->num_state_slots > 0) { in visit()
664 var->num_state_slots); in visit()
667 for (unsigned i = 0; i < var->num_state_slots; i++) { in visit()
Dgl_nir_link_uniforms.c154 const unsigned num_slots = var->num_state_slots; in update_array_sizes()
156 var->num_state_slots = in update_array_sizes()
/third_party/mesa3d/docs/relnotes/
D20.0.0.rst2777 - nir: make nir_variable::{num_members,num_state_slots} a uint16_t