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/radeonsi_shader.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/radeonsi_shader.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/radeonsi_shader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.h b/src/gallium/drivers/radeonsi/radeonsi_shader.h index 23030bc4f63..6f12e760b8e 100644 --- a/src/gallium/drivers/radeonsi/radeonsi_shader.h +++ b/src/gallium/drivers/radeonsi/radeonsi_shader.h @@ -81,6 +81,8 @@ struct si_shader_key { unsigned export_16bpc:8; unsigned nr_cbufs:4; unsigned color_two_side:1; + unsigned alpha_func:3; + float alpha_ref; }; struct si_pipe_shader { |