Home
last modified time | relevance | path

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

/external/mesa3d/src/glsl/
Dbuiltin_variables.cpp274 #define MATRIX(name, statevar, modifier) \ argument
276 { NULL, { statevar, 0, 0, 0, modifier}, SWIZZLE_XYZW }, \
277 { NULL, { statevar, 0, 1, 1, modifier}, SWIZZLE_XYZW }, \
278 { NULL, { statevar, 0, 2, 2, modifier}, SWIZZLE_XYZW }, \
279 { NULL, { statevar, 0, 3, 3, modifier}, SWIZZLE_XYZW }, \
437 const struct gl_builtin_uniform_desc* const statevar = in add_uniform() local
441 uni->num_state_slots = array_count * statevar->num_elements; in add_uniform()
449 for (unsigned j = 0; j < statevar->num_elements; j++) { in add_uniform()
450 struct gl_builtin_uniform_element *element = &statevar->elements[j]; in add_uniform()