turnip: Tell spirv_to_nir that we want fragcoord as a sysval.
authorEric Anholt <eric@anholt.net>
Fri, 27 Sep 2019 23:04:30 +0000 (16:04 -0700)
committerJonathan Marek <jonathan@marek.ca>
Tue, 15 Oct 2019 11:56:19 +0000 (07:56 -0400)
commit8193c2b08b9ea39947d3c967109403b2f4b3d128
tree14f935641042e83d3f36d4b7972858e697cea36f
parent0ce1672a2c6f4379b8122e29baf4e6255027ee47
turnip: Tell spirv_to_nir that we want fragcoord as a sysval.

Fixes ir3 compiler failure failure in
dEQP-VK.renderpass.dedicated_allocation.formats.r8g8b8a8_unorm.clear.clear_draw
(now just a rendering failure where the subpass clear isn't happening)

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
src/freedreno/vulkan/tu_shader.c