r600: clear compressed flags in image state on unbind.
authorDave Airlie <airlied@redhat.com>
Tue, 19 Dec 2017 05:36:53 +0000 (05:36 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 19 Dec 2017 05:38:12 +0000 (05:38 +0000)
commita1e18e87c775f16f4d66d3bd7de286bfee19fb3a
tree4039c1f9f2b2290b34d3046af3854c7a5671efb4
parent999f1cd5c6fc59b7e522dd12077ba1b6fe322242
r600: clear compressed flags in image state on unbind.

If we aren't binding an image, clear the compressed flags.

This fixes a segfault seen with an apitrace.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104331
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/evergreen_state.c