summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_screen.h
diff options
context:
space:
mode:
authorJerome Glisse <[email protected]>2010-08-23 15:39:39 -0400
committerJerome Glisse <[email protected]>2010-08-23 15:42:32 -0400
commitbcf7f66a934ebd9c91da90d6e1f9b169c33c746c (patch)
tree3b6bf92aad60327e309bf9ca0c480e1858ae746d /src/gallium/drivers/r600/r600_screen.h
parent6355ae2b80a01b1d58824ffeae0c638d917519c0 (diff)
r600g: export one component per pixel + r7xx uncompression shader
We need to always at least export one component (wether it's depth or color. Add valid r7xx shader program for depth decompression. Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_screen.h')
-rw-r--r--src/gallium/drivers/r600/r600_screen.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_screen.h b/src/gallium/drivers/r600/r600_screen.h
index 5e82ac8e234..438976f654a 100644
--- a/src/gallium/drivers/r600/r600_screen.h
+++ b/src/gallium/drivers/r600/r600_screen.h
@@ -42,9 +42,16 @@ struct r600_transfer {
struct pipe_resource *linear_texture;
};
+enum chip_class {
+ R600,
+ R700,
+ EVERGREEN,
+};
+
struct r600_screen {
struct pipe_screen screen;
struct radeon *rw;
+ enum chip_class chip_class;
};
static INLINE struct r600_screen *r600_screen(struct pipe_screen *screen)