llvmpipe/fs: multisample depth/stencil bad ir generated
authorDave Airlie <airlied@redhat.com>
Fri, 19 Jun 2020 06:57:16 +0000 (16:57 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 31 Aug 2020 03:20:11 +0000 (13:20 +1000)
commitdc6313b0982638ce985db7a0b6fc4dbc60cefa60
tree22c8d0343027004c940f2add559ba91ed78aab2e
parent6d60cd44f3fc9fbecee3e6f587eaa0c08ccdf3de
llvmpipe/fs: multisample depth/stencil bad ir generated

Need to update the z value after updating the pos at pixel
center, and later reupdate it again, so we can avoid some
LLVM IR values not being dominant issues.

Fixes:
dEQP-VK.renderpass.suballocation.multisample.s8_uint.samples_4

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6381>
src/gallium/drivers/llvmpipe/lp_state_fs.c