Searched refs:statevar (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/compiler/glsl/ |
D | builtin_variables.cpp | 195 #define MATRIX(name, statevar, modifier) \ argument 197 { NULL, { statevar, 0, 0, 0, modifier}, SWIZZLE_XYZW }, \ 198 { NULL, { statevar, 0, 1, 1, modifier}, SWIZZLE_XYZW }, \ 199 { NULL, { statevar, 0, 2, 2, modifier}, SWIZZLE_XYZW }, \ 200 { NULL, { statevar, 0, 3, 3, modifier}, SWIZZLE_XYZW }, \ 622 const struct gl_builtin_uniform_desc* const statevar = in add_uniform() local 624 assert(statevar != NULL); in add_uniform() 629 uni->allocate_state_slots(array_count * statevar->num_elements); in add_uniform() 632 for (unsigned j = 0; j < statevar->num_elements; j++) { in add_uniform() 634 &statevar->elements[j]; in add_uniform()
|