diff options
author | Nanley Chery <[email protected]> | 2019-08-30 14:58:54 -0700 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2019-10-29 08:15:52 -0700 |
commit | 88ca3cf11dbf260c15db43d60df41a2de36d821a (patch) | |
tree | 749b521b05d935dad24ad1ce379c06fd630eea0b /src | |
parent | 73a9f31b57d60dac870f1663fff3db9225c213f2 (diff) |
iris: Clear ::has_hiz when disabling aux
Fixes: 2cddc953cd0 ("iris: some initial HiZ bits")
Reviewed-by: Kenneth Graunke <[email protected]>
(cherry picked from commit 6cd9731d96c4a48252b91881491aa43ba565bf95)
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/iris/iris_resource.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c index 07644eb94b3..53ecb805840 100644 --- a/src/gallium/drivers/iris/iris_resource.c +++ b/src/gallium/drivers/iris/iris_resource.c @@ -292,6 +292,7 @@ iris_resource_disable_aux(struct iris_resource *res) res->aux.usage = ISL_AUX_USAGE_NONE; res->aux.possible_usages = 1 << ISL_AUX_USAGE_NONE; res->aux.sampler_usages = 1 << ISL_AUX_USAGE_NONE; + res->aux.has_hiz = 0; res->aux.surf.size_B = 0; res->aux.bo = NULL; res->aux.clear_color_bo = NULL; |