Searched refs:state_slots (Results 1 - 10 of 10) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
H A Dst_nir_lower_builtin.c143 var->state_slots = ralloc_array(var, nir_state_slot, 1);
144 memcpy(var->state_slots[0].tokens, tokens,
145 sizeof(var->state_slots[0].tokens));
H A Dst_glsl_to_nir.cpp193 const gl_state_index *const stateTokens = (gl_state_index *)uniform->state_slots[0].tokens;
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_nir_uniforms.cpp34 const nir_state_slot *const slots = var->state_slots;
35 assert(var->state_slots != NULL);
H A Dbrw_link.cpp247 const nir_state_slot *const slots = var->state_slots;
248 assert(var->state_slots != NULL);
/external/mesa3d/src/compiler/nir/
H A Dnir_lower_wpos_ytransform.c60 var->state_slots = ralloc_array(var, nir_state_slot, 1);
61 var->state_slots[0].swizzle = SWIZZLE_XYZW;
62 memcpy(var->state_slots[0].tokens, state->options->state_tokens,
63 sizeof(var->state_slots[0].tokens));
H A Dnir_lower_drawpixels.c77 var->state_slots = ralloc_array(var, nir_state_slot, 1);
78 memcpy(var->state_slots[0].tokens, state_tokens,
79 sizeof(var->state_slots[0].tokens));
H A Dnir_clone.c155 nvar->state_slots = ralloc_array(nvar, nir_state_slot, var->num_state_slots);
156 memcpy(nvar->state_slots, var->state_slots,
H A Dnir.h80 * \sa nir_variable::state_slots
294 * Once set at variable creation, \c state_slots must remain invariant.
300 * \c state_slots will be \c NULL.
304 nir_state_slot *state_slots; /**< State descriptors. */ member in struct:nir_variable
/external/mesa3d/src/compiler/glsl/
H A Dir.h397 * \sa ir_variable::state_slots
572 return this->is_interface_instance() ? NULL : this->u.state_slots;
577 return this->is_interface_instance() ? NULL : this->u.state_slots;
584 this->u.state_slots = ralloc_array(this, ir_state_slot, n);
587 if (this->u.state_slots != NULL)
590 return this->u.state_slots;
989 * Once set at variable creation, \c state_slots must remain invariant.
992 * and \c state_slots will be \c NULL.
994 ir_state_slot *state_slots; member in union:ir_variable::__anon15835
H A Dglsl_to_nir.cpp418 var->state_slots = ralloc_array(var, nir_state_slot,
421 ir_state_slot *state_slots = ir->get_state_slots(); local
424 var->state_slots[i].tokens[j] = state_slots[i].tokens[j];
425 var->state_slots[i].swizzle = state_slots[i].swizzle;
428 var->state_slots = NULL;

Completed in 210 milliseconds