r600: add gs tri strip adjacency fix.
authorDave Airlie <airlied@redhat.com>
Mon, 13 Nov 2017 04:10:25 +0000 (14:10 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 13 Nov 2017 20:16:06 +0000 (06:16 +1000)
commit53d5dda6f805f2bb6359872a7013b7c3293299f6
tree5049011d31236b512bda7db4a655c8e321bd5af1
parentf3f8615d76b20ad66466b172a600e06b9a833729
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 <airlied@redhat.com>
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_shader.h
src/gallium/drivers/r600/r600_state_common.c