We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c1fc51 commit 591d12aCopy full SHA for 591d12a
llvm/lib/Frontend/HLSL/RootSignatureMetadata.cpp
@@ -12,6 +12,7 @@
12
//===----------------------------------------------------------------------===//
13
14
#include "llvm/Frontend/HLSL/RootSignatureMetadata.h"
15
+#include "llvm/BinaryFormat/DXContainer.h"
16
#include "llvm/Frontend/HLSL/RootSignatureValidations.h"
17
#include "llvm/IR/DiagnosticInfo.h"
18
#include "llvm/IR/IRBuilder.h"
@@ -563,6 +564,9 @@ bool MetadataParser::validateRootSignature(
563
564
static_cast<dxbc::RootParameterType>(Info.Header.ParameterType);
565
566
switch (PT) {
567
+ case dxbc::RootParameterType::Constants32Bit:
568
+ // ToDo: Add proper validation.
569
+ continue;
570
571
case dxbc::RootParameterType::CBV:
572
case dxbc::RootParameterType::UAV:
0 commit comments