Mesa (main): anv: fill correct surface state for lowered storage image

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Oct 13 14:45:47 UTC 2021


Module: Mesa
Branch: main
Commit: 47ff6767eae3bf1204b3deb1f3bf93da15dc7111
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=47ff6767eae3bf1204b3deb1f3bf93da15dc7111

Author: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Date:   Wed Oct 13 13:37:30 2021 +0300

anv: fill correct surface state for lowered storage image

Small typo/copy-paste.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Fixes: c0093c466850d5 ("anv: Flip around the way we reason about storage image lowering")
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13332>

---

 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 a2fb47fe315..6be22d88438 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;
          }
       }



More information about the mesa-commit mailing list