Searched refs:statevar (Results 1 – 1 of 1) sorted by relevance
/external/mesa3d/src/compiler/glsl/ |
D | builtin_variables.cpp | 180 #define MATRIX(name, statevar, modifier) \ argument 182 { NULL, { statevar, 0, 0, 0, modifier}, SWIZZLE_XYZW }, \ 183 { NULL, { statevar, 0, 1, 1, modifier}, SWIZZLE_XYZW }, \ 184 { NULL, { statevar, 0, 2, 2, modifier}, SWIZZLE_XYZW }, \ 185 { NULL, { statevar, 0, 3, 3, modifier}, SWIZZLE_XYZW }, \ 553 const struct gl_builtin_uniform_desc* const statevar = in add_uniform() local 555 assert(statevar != NULL); in add_uniform() 560 uni->allocate_state_slots(array_count * statevar->num_elements); in add_uniform() 563 for (unsigned j = 0; j < statevar->num_elements; j++) { in add_uniform() 565 &statevar->elements[j]; in add_uniform()
|