summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_shader.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2011-01-31 10:01:06 +1000
committerDave Airlie <airlied@redhat.com>2011-01-31 10:01:06 +1000
commit5555cd776b970bce020be59193054474a2a63317 (patch)
tree81518a37eb3f2dfebf5da7e6bd61ee1ba1503b7d /src/gallium/drivers/r600/r600_shader.h
parentf668b464c0c08bd929c259048082a9d3585481a2 (diff)
r600g: handle the write all cbufs property.
This only works on r600/r700 so far, evergreen doesn't appear to have the multiwrite enable bit in the color control, so we may have to actually do a shader rewrite on EG hardware. remove some duplicate code reg defines also. Signed-off-by: Dave Airlie <airlied@redhat.com>
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 935dd6fe3a..dfa9dd20de 100644
--- a/src/gallium/drivers/r600/r600_shader.h
+++ b/src/gallium/drivers/r600/r600_shader.h
@@ -45,6 +45,7 @@ struct r600_shader {
struct r600_shader_io output[32];
enum radeon_family family;
boolean uses_kill;
+ boolean fs_write_all;
};
int r600_shader_from_tgsi(const struct tgsi_token *tokens, struct r600_shader *shader, u32 **literals);