Add default case for spv::Dim for TileImageEXT (#5194)

Without this the switch statement must be updated at the same time as
the SPIR-V headers, which makes rolls impossible.
This commit is contained in:
Corentin Wallez 2023-04-13 17:10:02 +02:00 committed by GitHub
parent 9a4e7a1eb5
commit f449fb4ad9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -218,6 +218,7 @@ uint32_t GetPlaneCoordSize(const ImageTypeInfo& info) {
plane_size = 3;
break;
case spv::Dim::Max:
default:
assert(0);
break;
}