diff options
author | Michel Dänzer <[email protected]> | 2012-11-02 15:57:30 +0100 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2012-11-12 15:45:42 +0100 |
commit | 7708a864648aecd8aafb484ec7db18c2aba9e957 (patch) | |
tree | 5cf18063bcc9ef3d1a2a0ea2732b706d33019f09 /src/gallium/drivers/radeonsi/si_state.h | |
parent | e44dfd4b3c68d58b16fa6943b82963809ab2d177 (diff) |
radeonsi: Implement alpha testing in pixel shader.
Signed-off-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index 00d666f520f..c49b029d71a 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -55,7 +55,8 @@ struct si_state_rasterizer { struct si_state_dsa { struct si_pm4_state pm4; - unsigned alpha_ref; + float alpha_ref; + unsigned alpha_func; unsigned db_render_override; unsigned db_render_control; uint8_t valuemask[2]; |