diff options
author | Marek Olšák <[email protected]> | 2011-06-19 23:28:33 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-06-19 23:28:33 +0200 |
commit | 9bcce02f47f721bfb8917fd5639756fb3456aab5 (patch) | |
tree | cd9cb6f9b14a58fe95b193a57517264f2085e6b9 /src/gallium/drivers/r600/r600d.h | |
parent | 1251e1df0f5d4bc81c80c4c2d61c0a5f9b8b759a (diff) |
r600g: remove some magic numbers
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 6373572b65f..f6eec24cc05 100644 --- a/src/gallium/drivers/r600/r600d.h +++ b/src/gallium/drivers/r600/r600d.h @@ -2556,6 +2556,9 @@ #define S_009508_DISABLE_CUBE_WRAP(x) (((x) & 0x1) << 0) #define G_009508_DISABLE_CUBE_WRAP(x) (((x) >> 0) & 0x1) #define C_009508_DISABLE_CUBE_WRAP 0xFFFFFFFE +#define S_009508_DISABLE_CUBE_ANISO(x) (((x) & 0x1) << 1) +#define G_009508_DISABLE_CUBE_ANISO(x) (((x) >> 1) & 0x1) +#define C_009508_DISABLE_CUBE_ANISO (~(1 << 1)) #define S_009508_SYNC_GRADIENT(x) (((x) & 0x1) << 24) #define G_009508_SYNC_GRADIENT(x) (((x) >> 24) & 0x1) #define C_009508_SYNC_GRADIENT 0xFEFFFFFF |