diff options
author | Dave Airlie <airlied@redhat.com> | 2011-01-31 10:01:06 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-01-31 10:01:06 +1000 |
commit | 5555cd776b970bce020be59193054474a2a63317 (patch) | |
tree | 81518a37eb3f2dfebf5da7e6bd61ee1ba1503b7d /src/gallium/drivers/r600/r600_shader.h | |
parent | f668b464c0c08bd929c259048082a9d3585481a2 (diff) | |
download | external_mesa3d-5555cd776b970bce020be59193054474a2a63317.zip external_mesa3d-5555cd776b970bce020be59193054474a2a63317.tar.gz external_mesa3d-5555cd776b970bce020be59193054474a2a63317.tar.bz2 |
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.h | 1 |
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 935dd6f..dfa9dd2 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); |