diff options
author | Nicolai Haehnle <[email protected]> | 2004-11-02 13:06:45 +0000 |
---|---|---|
committer | Nicolai Haehnle <[email protected]> | 2004-11-02 13:06:45 +0000 |
commit | 2302cc1a25f7ab55b7e7d6647175308cd64ab7f1 (patch) | |
tree | 8ece05fc8a5c48d3f0c4927f081a8a54f2dea4da /src/mesa/drivers/dri/r300/r300_context.h | |
parent | b187341e63f417c191b5d13be6b76cbd63555802 (diff) |
No visible changes, but commit the groundwork for further experiments:
- Install custom (though inactive) pipeline
- Track depth test and culling state in hardware registers
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.h')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_context.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h index ada6e4a5a2d..d80bcc689f5 100644 --- a/src/mesa/drivers/dri/r300/r300_context.h +++ b/src/mesa/drivers/dri/r300/r300_context.h @@ -126,6 +126,10 @@ struct r300_state_atom { #define R300_PS_POINTSIZE 1 #define R300_PS_CMDSIZE 2 +#define R300_CUL_CMD_0 0 +#define R300_CUL_CULL 1 +#define R300_CUL_CMDSIZE 2 + #define R300_RC_CMD_0 0 #define R300_RC_CNTL_0 1 #define R300_RC_CNTL_1 2 @@ -247,6 +251,7 @@ struct r300_hw_state { struct r300_state_atom unk4288; /* (4288) */ struct r300_state_atom unk42A0; /* (42A0) */ struct r300_state_atom unk42B4; /* (42B4) */ + struct r300_state_atom cul; /* cull cntl (42B8) */ struct r300_state_atom unk42C0; /* (42C0) */ struct r300_state_atom rc; /* rs control (4300) */ struct r300_state_atom ri; /* rs interpolators (4310) */ |