anv: fill correct surface state for lowered storage image
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Wed, 13 Oct 2021 10:37:30 +0000 (13:37 +0300)
committerMarge Bot <eric+marge@anholt.net>
Wed, 13 Oct 2021 14:33:14 +0000 (14:33 +0000)
Small typo/copy-paste.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: c0093c466850d5 ("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>

src/intel/vulkan/anv_image.c

index a2fb47f..6be22d8 100644 (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;
          }
       }