fix unintialised struct in SPIRType
This commit is contained in:
parent
55e08aff31
commit
d019358ce0
@ -621,7 +621,7 @@ struct SPIRType : IVariant
|
|||||||
uint32_t sampled;
|
uint32_t sampled;
|
||||||
spv::ImageFormat format;
|
spv::ImageFormat format;
|
||||||
spv::AccessQualifier access;
|
spv::AccessQualifier access;
|
||||||
} image;
|
} image = {};
|
||||||
|
|
||||||
// Structs can be declared multiple times if they are used as part of interface blocks.
|
// Structs can be declared multiple times if they are used as part of interface blocks.
|
||||||
// We want to detect this so that we only emit the struct definition once.
|
// We want to detect this so that we only emit the struct definition once.
|
||||||
|
Loading…
Reference in New Issue
Block a user