layers: Consider storage block using new storage class to be a writable descriptor
diff --git a/layers/shader_validation.cpp b/layers/shader_validation.cpp
index fab1e88..dcae5f9 100644
--- a/layers/shader_validation.cpp
+++ b/layers/shader_validation.cpp
@@ -651,6 +651,9 @@
         if (type.opcode() == spv::OpTypeArray) {
             type = module->get_def(type.word(2));
         } else {
+            if (type.word(2) == spv::StorageClassStorageBuffer) {
+                return true;
+            }
             type = module->get_def(type.word(3));
         }
     }