From 0d02a7b8ca794a594c2e9cc5e6d63dc591593105 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 17 Feb 2020 17:09:10 +1000 Subject: draw: add main tessellation code This is the bulk of the llvm shader builders and tessellation execution code. TCS uses a coroutine launcher like compute shaders to handle barriers. It executes 4-wide with one input vertex per lane. Tessellation happens before the TES is run. TES is just a 4-wide launcher, one per primitive is executed, with one lane per tessellation coordinate input. Reviewed-by: Roland Scheidegger Part-of: --- src/gallium/auxiliary/Makefile.sources | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/auxiliary/Makefile.sources') diff --git a/src/gallium/auxiliary/Makefile.sources b/src/gallium/auxiliary/Makefile.sources index 8b0c19e1731..b79dc1d5958 100644 --- a/src/gallium/auxiliary/Makefile.sources +++ b/src/gallium/auxiliary/Makefile.sources @@ -50,6 +50,8 @@ C_SOURCES := \ draw/draw_pt_vsplit_tmp.h \ draw/draw_so_emit_tmp.h \ draw/draw_split_tmp.h \ + draw/draw_tess.c \ + draw/draw_tess.h \ draw/draw_vbuf.h \ draw/draw_vertex.c \ draw/draw_vertex.h \ -- cgit v1.2.3