You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Graphics/GraphicsEngine/src/PipelineResourceSignatureBase.cpp
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,14 @@
35
35
namespaceDiligent
36
36
{
37
37
38
+
namespace
39
+
{
40
+
41
+
using TestPipelineResourceSignatureInternalData = PipelineResourceSignatureInternalData<Uint32, Uint32>;
42
+
ASSERT_SIZEOF64(TestPipelineResourceSignatureInternalData, 32, "Did you add new members to PipelineResourceSignatureInternalData? You need to implement serialization for them in PRSSerializer.");
43
+
44
+
} // namespace
45
+
38
46
#defineLOG_PRS_ERROR_AND_THROW(...) LOG_ERROR_AND_THROW("Description of a pipeline resource signature '", (Desc.Name ? Desc.Name : ""), "' is invalid: ", ##__VA_ARGS__)
Copy file name to clipboardExpand all lines: Tests/DiligentCoreTest/src/GraphicsEngine/PSOSerializerTest.cpp
+3-7Lines changed: 3 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2019-2025 Diligent Graphics LLC
2
+
* Copyright 2019-2026 Diligent Graphics LLC
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -132,6 +132,7 @@ struct ValueIterator
132
132
};
133
133
134
134
using TestPRSInternalData = PipelineResourceSignatureInternalData<TestResourceAttribs, TestImmutableSamplerAttribs>;
135
+
ASSERT_SIZEOF64(TestPRSInternalData, 32, "Did you add new members to PipelineResourceSignatureInternalData? You need to implement serialization for them in PRSSerializer.");
0 commit comments