nvk: lower io to temps to avoid output reads in vertex shaders
authorDave Airlie <airlied@redhat.com>
Wed, 17 Aug 2022 03:09:50 +0000 (13:09 +1000)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 21:31:57 +0000 (21:31 +0000)
commit51e24cd5b055be46b96ac7ea07d2a514b9a71862
tree0ce613b1eb7e8b345dfcd56b370deeb85cfb432e
parent875d4fe6f2b2a5ced7cf8fec1826dac6f5a7bf60
nvk: lower io to temps to avoid output reads in vertex shaders

fixes a bunch of these
nv50_ir_lowering_nvc0.cpp:2878: void nv50_ir::NVC0LoweringPass::handleLDST(nv50_ir::Instruction*): Assertion `prog->getType() == Program::TYPE_TESSELLATION_CONTROL' failed.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
src/nouveau/vulkan/nvk_shader.c