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

12

/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_point_size_mov.c49 in->state_slots = ralloc_array(in, nir_state_slot, 1);
50 in->state_slots[0].swizzle = 0;
51 memcpy(in->state_slots[0].tokens,
53 sizeof(in->state_slots[0].tokens));
H A Dnir_lower_patch_vertices.c37 var->state_slots = ralloc_array(var, nir_state_slot, var->num_state_slots);
38 memcpy(var->state_slots[0].tokens, tokens, sizeof(*tokens) * STATE_LENGTH);
39 var->state_slots[0].swizzle = SWIZZLE_XXXX;
H A Dnir_lower_alpha_test.c103 var->state_slots = ralloc_array(var, nir_state_slot, 1);
104 memcpy(var->state_slots[0].tokens,
106 sizeof(var->state_slots[0].tokens));
H A Dnir_lower_pntc_ytransform.c52 var->state_slots = ralloc_array(var, nir_state_slot, 1);
53 var->state_slots[0].swizzle = SWIZZLE_XYZW;
54 memcpy(var->state_slots[0].tokens, state->pntc_state_tokens,
55 sizeof(var->state_slots[0].tokens));
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.c78 var->state_slots = ralloc_array(var, nir_state_slot, 1);
79 memcpy(var->state_slots[0].tokens, state_tokens,
80 sizeof(var->state_slots[0].tokens));
H A Dnir_lower_clip.c220 var->state_slots = ralloc_array(var, nir_state_slot, 1);
221 memcpy(var->state_slots[0].tokens,
223 sizeof(var->state_slots[0].tokens));
H A Dnir_split_per_member_structs.c66 assert(var->state_slots == NULL);
H A Dnir_clone.c160 nvar->state_slots = ralloc_array(nvar, nir_state_slot, var->num_state_slots);
161 memcpy(nvar->state_slots, var->state_slots,
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_lower_patch_vertices.c37 var->state_slots = ralloc_array(var, nir_state_slot, var->num_state_slots);
38 memcpy(var->state_slots[0].tokens, tokens, sizeof(*tokens) * STATE_LENGTH);
39 var->state_slots[0].swizzle = SWIZZLE_XXXX;
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.c78 var->state_slots = ralloc_array(var, nir_state_slot, 1);
79 memcpy(var->state_slots[0].tokens, state_tokens,
80 sizeof(var->state_slots[0].tokens));
H A Dnir_split_per_member_structs.c66 assert(var->state_slots == NULL);
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,
/xsrc/external/mit/MesaLib.old/dist/src/mesa/state_tracker/
H A Dst_nir_lower_builtin.c141 var->state_slots = ralloc_array(var, nir_state_slot, 1);
142 memcpy(var->state_slots[0].tokens, tokens,
143 sizeof(var->state_slots[0].tokens));
H A Dst_glsl_to_nir.cpp268 const gl_state_index16 *const stateTokens = uniform->state_slots[0].tokens;
466 const nir_state_slot *const slots = var->state_slots;
467 assert(var->state_slots != NULL);
/xsrc/external/mit/MesaLib/dist/src/mesa/state_tracker/
H A Dst_nir_lower_builtin.c156 var->state_slots = rzalloc_array(var, nir_state_slot, 1);
157 memcpy(var->state_slots[0].tokens, tokens,
158 sizeof(var->state_slots[0].tokens));
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/
H A Dd3d12_nir_passes.c54 var->state_slots = ralloc_array(var, nir_state_slot, 1);
55 memcpy(var->state_slots[0].tokens, tokens,
56 sizeof(var->state_slots[0].tokens));
435 variable->state_slots[0].tokens[0] != STATE_INTERNAL_DRIVER)
438 enum d3d12_state_var var = variable->state_slots[0].tokens[1];
479 var->state_slots[0].tokens[0] == STATE_INTERNAL_DRIVER) {
513 var->state_slots[0].tokens[0] == STATE_INTERNAL_DRIVER) {
528 ubo->state_slots = ralloc_array(ubo, nir_state_slot, 1);
529 memcpy(ubo->state_slots[0].tokens, tokens,
530 sizeof(ubo->state_slots[
[all...]
H A Dd3d12_lower_point_sprite.c254 state.uniform->state_slots = ralloc_array(state.uniform, nir_state_slot, 1);
255 memcpy(state.uniform->state_slots[0].tokens, tokens,
256 sizeof(state.uniform->state_slots[0].tokens));
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dbrw_nir_uniforms.cpp35 const nir_state_slot *const slots = var->state_slots;
36 assert(var->state_slots != NULL);
H A Dbrw_link.cpp344 const nir_state_slot *const slots = var->state_slots;
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dir.h399 * \sa ir_variable::state_slots
585 return this->is_interface_instance() ? NULL : this->u.state_slots;
590 return this->is_interface_instance() ? NULL : this->u.state_slots;
597 this->u.state_slots = ralloc_array(this, ir_state_slot, n);
600 if (this->u.state_slots != NULL)
603 return this->u.state_slots;
1034 * Once set at variable creation, \c state_slots must remain invariant.
1037 * and \c state_slots will be \c NULL.
1039 ir_state_slot *state_slots; member in union:ir_variable::__anonaaf38c98010a
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dir.h396 * \sa ir_variable::state_slots
582 return this->is_interface_instance() ? NULL : this->u.state_slots;
587 return this->is_interface_instance() ? NULL : this->u.state_slots;
594 this->u.state_slots = ralloc_array(this, ir_state_slot, n);
597 if (this->u.state_slots != NULL)
600 return this->u.state_slots;
1010 * Once set at variable creation, \c state_slots must remain invariant.
1013 * and \c state_slots will be \c NULL.
1015 ir_state_slot *state_slots; member in union:ir_variable::__anona7da7385010a
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A Dbrw_nir_uniforms.cpp35 const nir_state_slot *const slots = var->state_slots;
36 assert(var->state_slots != NULL);
H A Dbrw_link.cpp351 const nir_state_slot *const slots = var->state_slots;

Completed in 55 milliseconds

12