[llvm] [DirectX] Updating DXContainer Yaml to represent Root Signature 1.2 (PR #159659)
Justin Bogner via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 24 09:41:10 PDT 2025
================
@@ -526,3 +526,64 @@ TEST(RootSignature, ParseStaticSamplers) {
EXPECT_EQ(Storage.size(), 144u);
EXPECT_TRUE(memcmp(Buffer, Storage.data(), 144u) == 0);
}
+
+TEST(RootSignature, ParseStaticSamplersV13) {
+ SmallString<160> Storage;
----------------
bogner wrote:
Why `160` here? This is a specific enough number that it looks intentional, but I can't see it actually being large enough for anything interesting. If we're just using an arbitrary number because the data will never fit in the small size anyway we might as well match the sizes used in the rest of the file.
https://github.com/llvm/llvm-project/pull/159659
More information about the llvm-commits
mailing list