mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-12-24 00:40:14 +00:00
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:
parent
9a4e7a1eb5
commit
f449fb4ad9
@ -218,6 +218,7 @@ uint32_t GetPlaneCoordSize(const ImageTypeInfo& info) {
|
||||
plane_size = 3;
|
||||
break;
|
||||
case spv::Dim::Max:
|
||||
default:
|
||||
assert(0);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user