anv: fill correct surface state for lowered storage image

Small typo/copy-paste.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: c0093c4668 ("anv: Flip around the way we reason about storage image lowering")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13332>
This commit is contained in:
Lionel Landwerlin 2021-10-13 13:37:30 +03:00 committed by Marge Bot
parent fd8210f27e
commit 47ff6767ea

View file

@ -2657,7 +2657,7 @@ anv_CreateImageView(VkDevice _device,
*/
assert(isl_format_supports_typed_writes(&device->info,
format.isl_format));
iview->planes[vplane].storage_surface_state.state =
iview->planes[vplane].lowered_storage_surface_state.state =
device->null_surface_state;
}
}