core | glapi | vbo | math | shader | swrast | swrast_setup | tnl | tnl_dd

ureg Struct Reference


Detailed Description

Use uregs to represent registers internally, translate to Mesa's expected formats on emit.

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


Field Documentation

GLuint ureg::file

GLint ureg::idx

GLuint ureg::negate

GLuint ureg::swz

GLuint ureg::pad

GLuint ureg::idx

GLuint ureg::negatebase


The documentation for this struct was generated from the following files:
Generated on Sun Sep 27 06:47:47 2009 for Mesa Main by  doxygen 1.5.4