diff options
author | Dave Airlie <[email protected]> | 2017-11-13 14:10:25 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2017-11-14 06:16:06 +1000 |
commit | 53d5dda6f805f2bb6359872a7013b7c3293299f6 (patch) | |
tree | 5049011d31236b512bda7db4a655c8e321bd5af1 /src/gallium/drivers/r600/r600_shader.h | |
parent | f3f8615d76b20ad66466b172a600e06b9a833729 (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_shader.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_shader.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_shader.h b/src/gallium/drivers/r600/r600_shader.h index 3fecda4c800..40719d9be5e 100644 --- a/src/gallium/drivers/r600/r600_shader.h +++ b/src/gallium/drivers/r600/r600_shader.h @@ -96,7 +96,7 @@ struct r600_shader { boolean has_txq_cube_array_z_comp; boolean uses_tex_buffers; boolean gs_prim_id_input; - + boolean gs_tri_strip_adj_fix; uint8_t ps_conservative_z; /* Size in bytes of a data item in the ring(s) (single vertex data). @@ -143,6 +143,7 @@ union r600_shader_key { } tcs; struct { unsigned first_atomic_counter:4; + unsigned tri_strip_adj_fix:1; } gs; }; |