summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_shader.h
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2011-06-24 18:05:53 -0400
committerAlex Deucher <[email protected]>2011-06-24 18:22:47 -0400
commitfeec48114b261f43c8dc94c06cfccea3b6ef1689 (patch)
tree95bf5e0bd3b519065b12ae9dc783dbb7ff732ace /src/gallium/drivers/r600/r600_shader.h
parent6062692cc6cd2a88d854b304d9a85bcf4bab0d11 (diff)
r600g: eg+ support for FS_COLOR0_WRITES_ALL_CBUFS
Evergreen+ don't support multi-writes so we need to emulate it in the shader. Fixes the following piglit tests: fbo-drawbuffers-fragcolor ati_draw_buffers-arbfp-no-option Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_shader.h')
-rw-r--r--src/gallium/drivers/r600/r600_shader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.h b/src/gallium/drivers/r600/r600_shader.h
index c1e00f3b662..76aebf2b1ea 100644
--- a/src/gallium/drivers/r600/r600_shader.h
+++ b/src/gallium/drivers/r600/r600_shader.h
@@ -47,6 +47,7 @@ struct r600_shader {
boolean uses_kill;
boolean fs_write_all;
boolean clamp_color;
+ unsigned nr_cbufs;
};
#endif