freedreno/a6xx: Build the right draw command for tessellation
authorKristian H. Kristensen <hoegsberg@google.com>
Wed, 23 Oct 2019 02:47:50 +0000 (19:47 -0700)
committerKristian H. Kristensen <hoegsberg@google.com>
Fri, 8 Nov 2019 00:40:27 +0000 (16:40 -0800)
commitf0ef3e96970e0b8388c9d7be678b70217b3a8506
treec7aa888e07b07f0c5430a24cb72d886f77ec4dc7
parent7272e8a70965d679d4545dffbc8099d99431f80b
freedreno/a6xx: Build the right draw command for tessellation

We need to select the right primitive type, set a bit to turn on
tessellation and or in the TES output primitive type.

Signed-off-by: Kristian H. Kristensen <hoegsberg@google.com>
Acked-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/a6xx/fd6_context.c
src/gallium/drivers/freedreno/a6xx/fd6_draw.c
src/gallium/drivers/freedreno/freedreno_batch.h