llvmpipe: add handling for zeroing cs shared memory
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 14 Mar 2022 21:16:45 +0000 (17:16 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 16 Mar 2022 04:05:14 +0000 (04:05 +0000)
commite106c1294ba20df8bcc0b91f0697bfdddec2a5ba
tree559cca41714cbaea7003903d761855990873cc71
parentf72d5a930b17fb287a58b1ecbc4ec1356e36160b
llvmpipe: add handling for zeroing cs shared memory

since this is just allocated by the cpu, it needs to be zeroed if the
shader expects that behavior

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15403>
src/gallium/drivers/llvmpipe/lp_state_cs.c
src/gallium/drivers/llvmpipe/lp_state_cs.h