mesa/*: use an internal enum for tessellation primitive types.
To avoid dragging gl.h into places it has no business being, defined tessellation primitive mode to an enum. This has a lot of fallout all over the place. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14605>
This commit is contained in:
@@ -125,7 +125,7 @@ debug_tcs_recompile(const struct brw_compiler *c, void *log,
|
||||
found |= check("input vertices", input_vertices);
|
||||
found |= check("outputs written", outputs_written);
|
||||
found |= check("patch outputs written", patch_outputs_written);
|
||||
found |= check("tes primitive mode", tes_primitive_mode);
|
||||
found |= check("tes primitive mode", _tes_primitive_mode);
|
||||
found |= check("quads and equal_spacing workaround", quads_workaround);
|
||||
|
||||
if (!found) {
|
||||
|
Reference in New Issue
Block a user