From 0a2a6c75bffc56d8dfde9b8a46c40222825630ea Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 6 Aug 2010 15:21:44 +1000 Subject: r600g: add SRGB support. This enables GL2.1 and passes glean's texture_srgb test. --- src/gallium/drivers/r600/r600d.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/r600/r600d.h') 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 -- cgit v1.2.3