Skip to content

Commit ca77982

Browse files
author
joaosaffran
committed
clean
1 parent d9c1c96 commit ca77982

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

llvm/include/llvm/Frontend/HLSL/RootSignatureMetadata.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class Metadata;
2525

2626
namespace hlsl {
2727
namespace rootsig {
28+
2829
class MetadataBuilder {
2930
public:
3031
MetadataBuilder(llvm::LLVMContext &Ctx, ArrayRef<RootElement> Elements)

llvm/lib/Target/DirectX/DXILRootSignature.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,14 @@ analyzeModule(Module &M) {
5353

5454
/** Root Signature are specified as following in the metadata:
5555
56-
!dx.rootsignatures = !{!2} ; list of function/root signature pairs
57-
!2 = !{ ptr @main, !3 } ; function, root signature
58-
!3 = !{ !4, !5, !6, !7 } ; list of root signature elements
59-
60-
So for each MDNode inside dx.rootsignatures NamedMDNode
61-
(the Root parameter of this function), the parsing process needs
62-
to loop through each of its operands and process the function,
63-
signature pair.
56+
!dx.rootsignatures = !{!2} ; list of function/root signature pairs
57+
!2 = !{ ptr @main, !3 } ; function, root signature
58+
!3 = !{ !4, !5, !6, !7 } ; list of root signature elements
59+
60+
So for each MDNode inside dx.rootsignatures NamedMDNode
61+
(the Root parameter of this function), the parsing process needs
62+
to loop through each of its operands and process the function,
63+
signature pair.
6464
*/
6565

6666
LLVMContext *Ctx = &M.getContext();

llvm/test/CodeGen/DirectX/ContainerData/RootSignature-StaticSamplers-Invalid-MinLopBias.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
target triple = "dxil-unknown-shadermodel6.0-compute"
55

6-
; CHECK: error: Invalid value for MipLODBias: 666
6+
; CHECK: error: Invalid value for MipLODBias: 666
77
; CHECK-NOT: Root Signature Definitions
88

99
define void @main() #0 {

0 commit comments

Comments
 (0)