diff options
author | Eric Anholt <anholt@FreeBSD.org> | 2006-05-09 16:50:48 -0700 |
---|---|---|
committer | Eric Anholt <anholt@FreeBSD.org> | 2006-05-16 10:09:26 -0700 |
commit | 3af4a967e73b367bb531f2760b4803db1388bcf9 (patch) | |
tree | 752a3feb96b827617a98afb96c206bc3b3c51d3a /src/i810_reg.h | |
parent | 06e62ec521ed3f7ed232ace8e188891bedb53097 (diff) |
Add a couple of macros to simplify writing of video pixel shaders.
Diffstat (limited to 'src/i810_reg.h')
-rw-r--r-- | src/i810_reg.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/i810_reg.h b/src/i810_reg.h index 08b576f7..0ed7ff6e 100644 --- a/src/i810_reg.h +++ b/src/i810_reg.h @@ -1407,6 +1407,8 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define D0_CHANNEL_XYZ (D0_CHANNEL_XY|D0_CHANNEL_Z) /* End description of STATE3D_PIXEL_SHADER_PROGRAM */ +#define STATE3D_PIXEL_SHADER_CONSTANTS (CMD_3D | (0x1d<<24)|(0x06<<16)) + #define STATE3D_DRAWING_RECTANGLE (CMD_3D | (0x1d<<24)|(0x80<<16)|3) #define STATE3D_SCISSOR_RECTANGLE (CMD_3D | (0x1d<<24)|(0x81<<16)|1) |