summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_exec.h
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2012-01-14 08:31:04 -0500
committerTom Stellard <[email protected]>2012-01-30 13:37:00 -0500
commit9ee1bcf7a5442ccb517a5cfbaf024755bd4d2738 (patch)
treee1ea85f7c7c95415ac582baa71881258a9a62c15 /src/gallium/auxiliary/tgsi/tgsi_exec.h
parent52049744620854487012151a7ac26ca978905411 (diff)
gallium: Unify defines of CHAN_[XYZW] in tgsi_exec.h
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_exec.h')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_exec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.h b/src/gallium/auxiliary/tgsi/tgsi_exec.h
index 2fd1f97d06f..63c7087856b 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_exec.h
+++ b/src/gallium/auxiliary/tgsi/tgsi_exec.h
@@ -37,6 +37,10 @@
extern "C" {
#endif
+#define TGSI_CHAN_X 0
+#define TGSI_CHAN_Y 1
+#define TGSI_CHAN_Z 2
+#define TGSI_CHAN_W 3
#define NUM_CHANNELS 4 /* R,G,B,A */
#define QUAD_SIZE 4 /* 4 pixel/quad */