diff options
author | Aapo Tahkola <[email protected]> | 2005-05-05 03:40:47 +0000 |
---|---|---|
committer | Aapo Tahkola <[email protected]> | 2005-05-05 03:40:47 +0000 |
commit | db46e2a7ddc91ee1322897d68a2ae97912f28ed3 (patch) | |
tree | 5467093e12336dfcf611e6a9431a830a98c5fd13 /src/mesa/drivers/dri/r300/r300_context.h | |
parent | e7769cb34898ca20adb5b0e329161e6321403fc9 (diff) |
Flat shading and bunch of clarifications to r300_reg.h .
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_context.h')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.h b/src/mesa/drivers/dri/r300/r300_context.h index fa6dbbf8af1..86f7cfaba64 100644 --- a/src/mesa/drivers/dri/r300/r300_context.h +++ b/src/mesa/drivers/dri/r300/r300_context.h @@ -271,6 +271,9 @@ struct r300_state_atom { #define R300_PS_POINTSIZE 1 #define R300_PS_CMDSIZE 2 +#define R300_SM_CMD_0 0 +#define R300_SM 1 + #define R300_ZBS_CMD_0 0 #define R300_ZBS_T_FACTOR 1 #define R300_ZBS_T_CONSTANT 2 @@ -420,6 +423,7 @@ struct r300_hw_state { #endif struct r300_state_atom unk4260; /* (4260) */ struct r300_state_atom unk4274; /* (4274) */ + struct r300_state_atom sm; /* shade model (4278) */ struct r300_state_atom unk4288; /* (4288) */ struct r300_state_atom unk42A0; /* (42A0) */ struct r300_state_atom zbs; /* zbias (42A4) */ |