diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2012-05-04 17:55:10 +0200 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-08-03 12:20:26 +0100 |
commit | 412668464cf9505629eac20001701af3402dc6e8 (patch) | |
tree | dd0789afe5e004f2aec1031dd2377983a9ae53aa /src/brw_defines.h | |
parent | a47ba68996f117fabcb601d35bcc5f99cbcd6122 (diff) |
uxa: set "Shader Channel Select" fields in surface state for Haswell
For normal behaviour, each Shader Channel Select should be set to the
value indicating that same channel. i.e. Shader Channel Select Red is
set to SCS_RED, Shader Channel Select Green is set to SCS_GREEN, etc.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/brw_defines.h')
-rw-r--r-- | src/brw_defines.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/brw_defines.h b/src/brw_defines.h index 0df2491c..e580a8f4 100644 --- a/src/brw_defines.h +++ b/src/brw_defines.h @@ -469,6 +469,13 @@ #define BRW_BORDER_COLOR_MODE_DEFAULT 0 #define BRW_BORDER_COLOR_MODE_LEGACY 1 +#define HSW_SCS_ZERO 0 +#define HSW_SCS_ONE 1 +#define HSW_SCS_RED 4 +#define HSW_SCS_GREEN 5 +#define HSW_SCS_BLUE 6 +#define HSW_SCS_ALPHA 7 + #define BRW_TEXCOORDMODE_WRAP 0 #define BRW_TEXCOORDMODE_MIRROR 1 #define BRW_TEXCOORDMODE_CLAMP 2 |