aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-10-07 01:47:00 +0200
committerMarek Olšák <[email protected]>2015-10-17 21:40:03 +0200
commit208d1ed38ddb7de8211a9ffc3d89ae176ef7e9d4 (patch)
tree044b6219af677b88f56f2738c7f4db4efda4b81e /src/gallium/drivers/radeonsi/si_shader.h
parentacc6a07874e6af133310adcc6c58898cf4312a6c (diff)
radeonsi: implement fragment color clamping
using the shader key for now. Reviewed-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h
index cccc4607977..fa5930ad1d5 100644
--- a/src/gallium/drivers/radeonsi/si_shader.h
+++ b/src/gallium/drivers/radeonsi/si_shader.h
@@ -227,6 +227,7 @@ union si_shader_key {
unsigned alpha_to_one:1;
unsigned poly_stipple:1;
unsigned poly_line_smoothing:1;
+ unsigned clamp_color:1;
} ps;
struct {
unsigned instance_divisors[SI_NUM_VERTEX_BUFFERS];