diff options
author | Dave Airlie <[email protected]> | 2010-10-06 10:14:33 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-10-13 09:30:05 +1000 |
commit | 39d1feb51e9dac794751e72f48faf26409a84b1c (patch) | |
tree | f0c2e04e6850200bc66b328454347acedcb4ca07 /src/gallium/drivers/r600/r600d.h | |
parent | 40acb109de61ba445b9247f7d53eaf1c2b9b1245 (diff) |
r600g: add shader stencil export support.
Diffstat (limited to 'src/gallium/drivers/r600/r600d.h')
-rw-r--r-- | src/gallium/drivers/r600/r600d.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600d.h b/src/gallium/drivers/r600/r600d.h index a96d2ce26c1..f32f5286c95 100644 --- a/src/gallium/drivers/r600/r600d.h +++ b/src/gallium/drivers/r600/r600d.h @@ -667,6 +667,9 @@ #define S_02880C_Z_EXPORT_ENABLE(x) (((x) & 0x1) << 0) #define G_02880C_Z_EXPORT_ENABLE(x) (((x) >> 0) & 0x1) #define C_02880C_Z_EXPORT_ENABLE 0xFFFFFFFE +#define S_02880C_STENCIL_REF_EXPORT_ENABLE(x) (((x) & 0x1) << 1) +#define G_02880C_STENCIL_REF_EXPORT_ENABLE(x) (((x) >> 1) & 0x1) +#define C_02880C_STENCIL_REF_EXPORT_ENABLE 0xFFFFFFFD #define S_02880C_Z_ORDER(x) (((x) & 0x3) << 4) #define G_02880C_Z_ORDER(x) (((x) >> 4) & 0x3) #define C_02880C_Z_ORDER 0xFFFFFCFF |