llvmpipe/cs: fix image/sampler binding for compute
authorDave Airlie <airlied@redhat.com>
Fri, 10 Jul 2020 05:46:54 +0000 (15:46 +1000)
committerMarge Bot <eric+marge@anholt.net>
Fri, 10 Jul 2020 22:04:27 +0000 (22:04 +0000)
commit05e23cb23dde76afeaa77746eea37236086668e5
tree29b1984580f499c33b2b6a950f42df024b40ee5d
parent54232bee06a3742e42754b223712de17a3f7ac59
llvmpipe/cs: fix image/sampler binding for compute

The compute shader dirtying is a bit wrong here, since we don't
have a second stage like for fragment shaders, so dirty the compute
shader whenever a sampler or image changes, (ssbo/contexts don't
needs this).

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