freedreno/ir3: Add tessellation field to shader key
authorKristian H. Kristensen <hoegsberg@google.com>
Wed, 23 Oct 2019 00:16:09 +0000 (17:16 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Fri, 8 Nov 2019 00:36:56 +0000 (16:36 -0800)
commit8621fbc37b205b142639a582cf6a2a76d68b25cb
tree47ea88798ef80e6b6ea9f0de93cb99c77ebb5cc6
parent77b96b843e4d58a1462976dacf6ae314de815881
freedreno/ir3: Add tessellation field to shader key

Whether we're tessellating and which primitives the TES outputs
affects the entire pipeline so let's add a field to the key to track
that.

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_nir.c
src/freedreno/ir3/ir3_shader.h
src/gallium/drivers/freedreno/a6xx/fd6_draw.c