Fix inconsistencies in exports D3D12 html state. Closes #3823

This commit is contained in:
baldurk
2026-04-16 11:38:58 +01:00
parent 0b9a36b581
commit 748aeee584
3 changed files with 64 additions and 25 deletions
-11
View File
@@ -627,17 +627,6 @@ struct OM
:type: bool
)");
bool stencilReadOnly = false;
DOCUMENT(R"(The sample count used for rendering.
:type: int
)");
uint32_t multiSampleCount = 1;
DOCUMENT(R"(The MSAA quality level used for rendering.
:type: int
)");
uint32_t multiSampleQuality = 0;
};
DOCUMENT("Describes the current state that a sub-resource is in.");
+2 -5
View File
@@ -1574,10 +1574,7 @@ void DoSerialise(SerialiserType &ser, D3D12Pipe::OM &el)
SERIALISE_MEMBER(depthReadOnly);
SERIALISE_MEMBER(stencilReadOnly);
SERIALISE_MEMBER(multiSampleCount);
SERIALISE_MEMBER(multiSampleQuality);
SIZE_CHECK(240);
SIZE_CHECK(232);
}
template <typename SerialiserType>
@@ -1682,7 +1679,7 @@ void DoSerialise(SerialiserType &ser, D3D12Pipe::State &el)
SERIALISE_MEMBER(resourceStates);
SIZE_CHECK(800);
SIZE_CHECK(792);
}
#pragma endregion D3D12 pipeline state