Skip to content

Commit

Permalink
Updated RSN Parser Test: added NativeMultiDraw feature
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Feb 24, 2024
1 parent 7da1541 commit 4ee3e95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,6 @@
"WireframeFill": "ENABLED",
"SubpassFramebufferFetch": "OPTIONAL",
"TextureComponentSwizzle": "OPTIONAL",
"TextureSubresourceViews": "ENABLED"
"TextureSubresourceViews": "ENABLED",
"NativeMultiDraw": "OPTIONAL"
}
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ TEST(Tools_RenderStateNotationParser, ParseDeviceFeatures)
DescReference.SubpassFramebufferFetch = DEVICE_FEATURE_STATE_OPTIONAL;
DescReference.TextureComponentSwizzle = DEVICE_FEATURE_STATE_OPTIONAL;
DescReference.TextureSubresourceViews = DEVICE_FEATURE_STATE_ENABLED;
static_assert(sizeof(DescReference) == 42, "Did you add a new feature? Please add it to the test");
DescReference.NativeMultiDraw = DEVICE_FEATURE_STATE_OPTIONAL;
static_assert(sizeof(DescReference) == 43, "Did you add a new feature? Please add it to the test");

DeviceFeatures Desc{};
ParseRSN(JsonReference, Desc, Allocator);
Expand Down

0 comments on commit 4ee3e95

Please sign in to comment.