summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_state.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-09-03 19:34:58 +0200
committerMarek Olšák <[email protected]>2015-09-10 17:14:15 +0200
commit60ec8fb448f292b8aac08f74c26da8171b2b6a8f (patch)
tree6c1fbd467c34d663a8084a1b4a3e6c159922c933 /src/gallium/drivers/radeonsi/si_state.h
parentafa752d3f03ac6697581ff5d324e8ac0512ef513 (diff)
radeonsi: don't update polygon offset state if it has no effect
Reviewed-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h
index 3718e05f3b3..900b70f804c 100644
--- a/src/gallium/drivers/radeonsi/si_state.h
+++ b/src/gallium/drivers/radeonsi/si_state.h
@@ -58,6 +58,7 @@ struct si_state_rasterizer {
bool poly_stipple_enable;
bool line_smooth;
bool poly_smooth;
+ bool uses_poly_offset;
};
struct si_dsa_stencil_ref_part {