anv,iris: Fix input vertex max for tcs on gen12
authorD Scott Phillips <d.scott.phillips@intel.com>
Thu, 30 Apr 2020 23:12:07 +0000 (23:12 +0000)
committerMarge Bot <eric+marge@anholt.net>
Fri, 1 May 2020 16:49:11 +0000 (16:49 +0000)
commit65b05ebdda18c1cebd88c72cc8f50530addb80c6
treed08fb6334ffbc2d839a1bc9fbacd75a99fdfcd7d
parent8f01fa1fb3bbb94648ab3955860933aefbcb191a
anv,iris: Fix input vertex max for tcs on gen12

gen12 does away with the single patch dispatch mode for tcs, and
increases some limits so that 8_patch mode can always work. Make the
necessary changes so we don't try to fall back to single patch mode.

Fixes KHR-GL46.tessellation_shader.single.max_patch_vertices and others

Fixes: 44754279ace7 ("intel/fs/gen12: Use TCS 8_PATCH mode.")
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4843>
src/gallium/drivers/iris/iris_state.c
src/intel/compiler/brw_vec4_tcs.cpp
src/intel/genxml/gen12.xml
src/intel/vulkan/genX_pipeline.c