summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600d.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-08-06 15:21:44 +1000
committerDave Airlie <airlied@redhat.com>2010-08-06 15:21:44 +1000
commit0a2a6c75bffc56d8dfde9b8a46c40222825630ea (patch)
tree3a23d1e9660c089eadd68ce8dbd76dd621c8b036 /src/gallium/drivers/r600/r600d.h
parentfc47cb9d710c046d34e8238337e009d7b76a3207 (diff)
r600g: add SRGB support.
This enables GL2.1 and passes glean's texture_srgb test.
Diffstat (limited to 'src/gallium/drivers/r600/r600d.h')
-rw-r--r--src/gallium/drivers/r600/r600d.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600d.h b/src/gallium/drivers/r600/r600d.h
index 2d0ede20fa..f9cad93185 100644
--- a/src/gallium/drivers/r600/r600d.h
+++ b/src/gallium/drivers/r600/r600d.h
@@ -1174,4 +1174,6 @@
#define SWAP_ALT 1
#define SWAP_STD_REV 2
#define SWAP_ALT_REV 3
+
+#define NUM_FORMAT_SRGB 6
#endif