diff options
author | Tom Stellard <tstellar@gmail.com> | 2012-01-14 08:31:04 -0500 |
---|---|---|
committer | Tom Stellard <thomas.stellard@amd.com> | 2012-01-30 13:37:00 -0500 |
commit | 9ee1bcf7a5442ccb517a5cfbaf024755bd4d2738 (patch) | |
tree | e1ea85f7c7c95415ac582baa71881258a9a62c15 /src/gallium/auxiliary/tgsi/tgsi_exec.h | |
parent | 52049744620854487012151a7ac26ca978905411 (diff) | |
download | external_mesa3d-9ee1bcf7a5442ccb517a5cfbaf024755bd4d2738.zip external_mesa3d-9ee1bcf7a5442ccb517a5cfbaf024755bd4d2738.tar.gz external_mesa3d-9ee1bcf7a5442ccb517a5cfbaf024755bd4d2738.tar.bz2 |
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.h | 4 |
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 2fd1f97..63c7087 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 */ |