brintos

brintos / llvm-project-archived public Read only

0
0
Text · 921 B · 76212a0 Raw
24 lines · plain
1; RUN: opt %s -dxil-embed -dxil-globals -S -o - | FileCheck %s2; RUN: llc %s --filetype=obj -o - | obj2yaml | FileCheck %s --check-prefix=DXC3 4target triple = "dxil-unknown-shadermodel1.1-rootsignature"5 6; CHECK: @dx.rts0 = private constant [24 x i8]  c"{{.*}}", section "RTS0", align 47 8!dx.rootsignatures = !{!2} ; list of function/root signature pairs9!2 = !{ null, !3, i32 2 } ; function, root signature, version10!3 = !{ !4 } ; list of root signature elements11!4 = !{ !"RootFlags", i32 1 } ; 1 = allow_input_assembler_input_layout12 13; DXC:       - Name:            RTS014; DXC-NEXT:    Size:            2415; DXC-NEXT:    RootSignature:16; DXC-NEXT:      Version:         217; DXC-NEXT:      NumRootParameters: 018; DXC-NEXT:      RootParametersOffset: 2419; DXC-NEXT:      NumStaticSamplers: 020; DXC-NEXT:      StaticSamplersOffset: 2421; DXC-NEXT:      Parameters: []22; DXC-NEXT:      AllowInputAssemblerInputLayout: true23 24