radeonsi/gfx10: fix GL_LINE polygon mode for decomposed primitives
authorMarek Olšák <marek.olsak@amd.com>
Thu, 30 May 2019 00:06:16 +0000 (20:06 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 3 Jul 2019 19:51:13 +0000 (15:51 -0400)
commit6920f09f4ba6a889bf4ef804cf65be7b5ecd0e43
treeedceab4d0206e75e405d3b002c481c4dbdf6be79
parente39d4594dac9d69934aa68a66ca7fc577f5fa955
radeonsi/gfx10: fix GL_LINE polygon mode for decomposed primitives

We need to tell PA to accept edge flags generated by the input assembler,
because decomposed primitives shouldn't draw inner edges.

Acked-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/gallium/drivers/radeonsi/si_gfx_cs.c
src/gallium/drivers/radeonsi/si_shader.h
src/gallium/drivers/radeonsi/si_state.c
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_shaders.c