freedreno/ir3: End TES with chsh when using GS
authorKristian H. Kristensen <hoegsberg@google.com>
Wed, 23 Oct 2019 02:26:30 +0000 (19:26 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Fri, 8 Nov 2019 00:37:05 +0000 (16:37 -0800)
commite16e48d00c84588c6ef5fcb87e375a1afd6fef74
treeffb36fec739950fb9c17ccef64822f1fe057e1d7
parent581cd596928bf6bc34ef806e4f015a86ab82f728
freedreno/ir3: End TES with chsh when using GS

When we have both TES and GS, the TES needs to chain to the VS with
chmask and chsh GS just like the VS does to either TCS or GS.

Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
Acked-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/freedreno/ir3/ir3_compiler_nir.c