Home
last modified time | relevance | path

Searched refs:state_slots (Results 1 – 11 of 11) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_nir_uniforms.cpp34 const nir_state_slot *const slots = var->state_slots; in brw_nir_setup_glsl_builtin_uniform()
35 assert(var->state_slots != NULL); in brw_nir_setup_glsl_builtin_uniform()
260 var->state_slots = in brw_nir_lower_patch_vertices_in_to_uniform()
262 memcpy(var->state_slots[0].tokens, tokens, sizeof(tokens)); in brw_nir_lower_patch_vertices_in_to_uniform()
263 var->state_slots[0].swizzle = SWIZZLE_XXXX; in brw_nir_lower_patch_vertices_in_to_uniform()
Dbrw_link.cpp318 const nir_state_slot *const slots = var->state_slots; in brw_link_shader()
319 assert(var->state_slots != NULL); in brw_link_shader()
/external/mesa3d/src/mesa/state_tracker/
Dst_nir_lower_builtin.c143 var->state_slots = ralloc_array(var, nir_state_slot, 1); in get_variable()
144 memcpy(var->state_slots[0].tokens, tokens, in get_variable()
145 sizeof(var->state_slots[0].tokens)); in get_variable()
Dst_glsl_to_nir.cpp258 const gl_state_index *const stateTokens = (gl_state_index *)uniform->state_slots[0].tokens; in st_nir_assign_uniform_locations()
353 const nir_state_slot *const slots = var->state_slots; in st_glsl_to_nir_post_opts()
354 assert(var->state_slots != NULL); in st_glsl_to_nir_post_opts()
/external/mesa3d/src/compiler/nir/
Dnir_lower_wpos_ytransform.c60 var->state_slots = ralloc_array(var, nir_state_slot, 1); in get_transform()
61 var->state_slots[0].swizzle = SWIZZLE_XYZW; in get_transform()
62 memcpy(var->state_slots[0].tokens, state->options->state_tokens, in get_transform()
63 sizeof(var->state_slots[0].tokens)); in get_transform()
Dnir_lower_drawpixels.c77 var->state_slots = ralloc_array(var, nir_state_slot, 1); in create_uniform()
78 memcpy(var->state_slots[0].tokens, state_tokens, in create_uniform()
79 sizeof(var->state_slots[0].tokens)); in create_uniform()
Dnir_clone.c155 nvar->state_slots = ralloc_array(nvar, nir_state_slot, var->num_state_slots); in nir_variable_clone()
156 memcpy(nvar->state_slots, var->state_slots, in nir_variable_clone()
Dnir_serialize.c143 blob_write_bytes(ctx->blob, (uint8_t *) var->state_slots, in write_variable()
169 var->state_slots = ralloc_array(var, nir_state_slot, var->num_state_slots); in read_variable()
170 blob_copy_bytes(ctx->blob, (uint8_t *) var->state_slots, in read_variable()
Dnir.h345 nir_state_slot *state_slots; /**< State descriptors. */ member
/external/mesa3d/src/compiler/glsl/
Dir.h583 return this->is_interface_instance() ? NULL : this->u.state_slots; in get_state_slots()
588 return this->is_interface_instance() ? NULL : this->u.state_slots; in get_state_slots()
595 this->u.state_slots = ralloc_array(this, ir_state_slot, n); in allocate_state_slots()
598 if (this->u.state_slots != NULL) in allocate_state_slots()
601 return this->u.state_slots; in allocate_state_slots()
1011 ir_state_slot *state_slots; member
Dglsl_to_nir.cpp438 var->state_slots = ralloc_array(var, nir_state_slot, in visit()
441 ir_state_slot *state_slots = ir->get_state_slots(); in visit() local
444 var->state_slots[i].tokens[j] = state_slots[i].tokens[j]; in visit()
445 var->state_slots[i].swizzle = state_slots[i].swizzle; in visit()
448 var->state_slots = NULL; in visit()