From 47ff6767eae3bf1204b3deb1f3bf93da15dc7111 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Wed, 13 Oct 2021 13:37:30 +0300 Subject: [PATCH] anv: fill correct surface state for lowered storage image MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Small typo/copy-paste. Signed-off-by: Lionel Landwerlin Fixes: c0093c466850d5 ("anv: Flip around the way we reason about storage image lowering") Reviewed-by: Tapani Pälli Reviewed-by: Jason Ekstrand Part-of: --- src/intel/vulkan/anv_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intel/vulkan/anv_image.c b/src/intel/vulkan/anv_image.c index a2fb47f..6be22d8 100644 --- a/src/intel/vulkan/anv_image.c +++ b/src/intel/vulkan/anv_image.c @@ -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; } } -- 2.7.4