summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2017-11-13 14:10:25 +1000
committerDave Airlie <[email protected]>2017-11-14 06:16:06 +1000
commit53d5dda6f805f2bb6359872a7013b7c3293299f6 (patch)
tree5049011d31236b512bda7db4a655c8e321bd5af1 /src/gallium/drivers/r600/r600_pipe.h
parentf3f8615d76b20ad66466b172a600e06b9a833729 (diff)
r600: add gs tri strip adjacency fix.
Like radeonsi: generate GS prolog to (partially) fix triangle strip adjacency rotation evergreen hw suffers from the same problem, so rotate the geometry inputs to fix this. This fixes: ./bin/glsl-1.50-geometry-primitive-types GL_TRIANGLE_STRIP_ADJACENCY on evergreen. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.h')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.h b/src/gallium/drivers/r600/r600_pipe.h
index 3dae56e3054..4fbc82b43f2 100644
--- a/src/gallium/drivers/r600/r600_pipe.h
+++ b/src/gallium/drivers/r600/r600_pipe.h
@@ -510,6 +510,7 @@ struct r600_context {
struct r600_rasterizer_state *rasterizer;
bool alpha_to_one;
bool force_blend_disable;
+ bool gs_tri_strip_adj_fix;
boolean dual_src_blend;
unsigned zwritemask;
int ps_iter_samples;