Add reporting of GL texture completeness and conflicts for descriptors

This commit is contained in:
baldurk
2024-04-10 15:51:10 +01:00
parent a3c165faad
commit 58c3dc52a7
4 changed files with 228 additions and 1 deletions
+12 -1
View File
@@ -1842,6 +1842,16 @@ void DoSerialise(SerialiserType &ser, GLPipe::Texture &el)
SIZE_CHECK(80);
}
template <typename SerialiserType>
void DoSerialise(SerialiserType &ser, GLPipe::TextureCompleteness &el)
{
SERIALISE_MEMBER(descriptorByteOffset);
SERIALISE_MEMBER(completeStatus);
SERIALISE_MEMBER(typeConflict);
SIZE_CHECK(56);
}
template <typename SerialiserType>
void DoSerialise(SerialiserType &ser, GLPipe::Sampler &el)
{
@@ -2048,6 +2058,7 @@ void DoSerialise(SerialiserType &ser, GLPipe::State &el)
SERIALISE_MEMBER(descriptorStore);
SERIALISE_MEMBER(descriptorCount);
SERIALISE_MEMBER(descriptorByteSize);
SERIALISE_MEMBER(textureCompleteness);
SERIALISE_MEMBER(transformFeedback);
@@ -2059,7 +2070,7 @@ void DoSerialise(SerialiserType &ser, GLPipe::State &el)
SERIALISE_MEMBER(hints);
SIZE_CHECK(1968);
SIZE_CHECK(1992);
}
#pragma endregion OpenGL pipeline state