mesa/src/compiler
Alyssa Rosenzweig 9753cd44f7 asahi: Implement skeleton for tessellation
This implements a rough skeleton of what's needed for tessellation. It contains
the relevant lowerings to merge the VS and TCS, running them as a compute
kernel, and to lower the TES to a new VS (possibly merged in with a subsequent
GS). This is sufficient for both standalone tessellation and tess + geom/xfb
together. It does not yet contain a GPU accellerated tessellator, simply falling
back to the CPU for that for now. Nevertheless the data structures are
engineered with that end goal in mind, in particular to be able to tessellate
all patches in parallel without needing any prefix sums etc (using simple
watermark allocation for the heap).

Work on fleshing out the skeleton continues in parallel. For now, this does pass
the tests and lets the harder stuff get regression tested more easily. And
merging early will ease rebase.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27616>
2024-02-14 21:02:28 +00:00
..
clc clc: retrieve libclang path at runtime. 2024-01-31 12:23:49 +00:00
glsl glsl: add half float AMD_shader_trinary_minmax functions 2024-02-12 13:23:14 +00:00
isaspec isaspec: encode.py: Include assert.h 2024-02-06 16:38:01 +00:00
nir asahi: Implement skeleton for tessellation 2024-02-14 21:02:28 +00:00
spirv spirv: implement SPV_KHR_quad_control 2024-02-09 05:32:35 +00:00
builtin_types.py compiler/types: Use Python to generate code for builtin types 2023-09-16 15:17:01 +00:00
builtin_types_c.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
builtin_types_h.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
glsl_types.c compiler/types: Add a contains_32bit helper 2024-02-12 13:23:14 +00:00
glsl_types.h compiler/types: Add a contains_32bit helper 2024-02-12 13:23:14 +00:00
meson.build treewide: Replace the include of nir_types.h with glsl_types.h 2023-12-30 15:08:11 +00:00
shader_enums.c nir: remove INTERP_MODE_COLOR 2024-02-02 16:45:35 -05:00
shader_enums.h compiler,gallium: move u_decomposed_prim to common 2024-02-09 11:53:31 +00:00
shader_info.h compiler: add a vs.tes_agx bit 2024-02-14 21:02:28 +00:00