tu: Support pipelines without a fragment shader

Graphics / Mesa 3D Graphics Library / Mesa - Connor Abbott [gmail.com] - 7 May 2020 16:05 UTC

Apparently this is allowed, and the CTS started doing this more often recently which resulted in frequent hangs running the entire CTS. I copied the code to create an empty FS from radv.

Part-of:

6d513eb0db2 tu: Support pipelines without a fragment shader
src/freedreno/vulkan/tu_pipeline.c | 2 +-
src/freedreno/vulkan/tu_shader.c | 26 +++++++++++++++++++-------
2 files changed, 20 insertions(+), 8 deletions(-)

Upstream: cgit.freedesktop.org


  • Share