r600/compute: only mark buffer/image state dirty for fragment shaders
authorDave Airlie <airlied@redhat.com>
Mon, 5 Feb 2018 00:14:19 +0000 (10:14 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Feb 2018 20:08:12 +0000 (06:08 +1000)
commitab5cee4c241cb360cf67101dd751e0f38637b526
tree89a68d20dcc0dd4fd00387bea1ac68a9c87d1715
parent4e3b43f18046538171928256acefd01d97eed0ae
r600/compute: only mark buffer/image state dirty for fragment shaders

The compute emission path always emits this currently, and emitting
it on the fragment path breaks the blitter.

This fixes gpu hangs in KHR-GL45.compute_shader.resource-texture

Reviewed-by: Roland Scheidegger <sorland@vmware.com>
Cc: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/evergreen_state.c