turnip: Support tess for draws

Graphics / Mesa 3D Graphics Library / Mesa - Brian Ho [brkho.com] - 22 June 2020 14:35 UTC

This commit adds tessellation support for draws. We store the IR3 patch type in tu_pipeline so we can use it in tu_emit_draw_*. We then convert the IR3 patch type to the native adreno patch type and set the appropriate reg values.

Part-of:

2718353b381 turnip: Support tess for draws
src/freedreno/registers/a6xx.xml | 1 +
src/freedreno/vulkan/tu_cmd_buffer.c | 46 ++++++++++++++++++++++++++++++------
src/freedreno/vulkan/tu_pipeline.c | 4 ++++
src/freedreno/vulkan/tu_private.h | 1 +
4 files changed, 45 insertions(+), 7 deletions(-)

Upstream: cgit.freedesktop.org


  • Share