NOTE: These are passed by value extensively in this file rather than as usual by pointer reference. If this disturbs you, try remembering they are just 32bits in size.
GCC is smart enough to deal with these dword-sized structures in much the same way as if I had defined them as dwords and was using macros to access and set the fields. This is much nicer and easier to evolve.
Data Fields | |
GLuint | file:4 |
GLint | idx:9 |
GLuint | negate:1 |
GLuint | swz:12 |
GLuint | pad:6 |
GLuint | idx:8 |
GLuint | negatebase:1 |
GLuint ureg::file |
GLint ureg::idx |
GLuint ureg::negate |
GLuint ureg::swz |
GLuint ureg::pad |
GLuint ureg::idx |
GLuint ureg::negatebase |