brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 9e1720b Raw
41 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=DXC3target triple = "dxil-unknown-shadermodel6.0-compute"4 5; CHECK: @dx.psv0 = private constant  [76 x i8] c"{{.*}}", section "PSV0", align 46 7define void @main() #0 {8entry:9  ret void10}11 12attributes #0 = { "hlsl.numthreads"="1,1,1" "hlsl.shader"="compute" }13 14!dx.valver = !{!0}15 16!0 = !{i32 1, i32 7}17 18; DXC: - Name:            PSV019; DXC:     Size:            7620; DXC:     PSVInfo:21; DXC:       Version:         322; DXC:       ShaderStage:     523; DXC:       MinimumWaveLaneCount: 024; DXC:       MaximumWaveLaneCount: 429496729525; DXC:       UsesViewID:      026; DXC:       SigInputVectors: 027; DXC:       SigOutputVectors: [ 0, 0, 0, 0 ]28; DXC:       NumThreadsX:     129; DXC:       NumThreadsY:     130; DXC:       NumThreadsZ:     131; DXC:       EntryName:       main32; DXC:       ResourceStride:  2433; DXC:       Resources:       []34; DXC:       SigInputElements: []35; DXC:       SigOutputElements: []36; DXC:       SigPatchOrPrimElements: []37; DXC:       InputOutputMap:38; DXC:         - [  ]39; DXC:         - [  ]40; DXC:         - [  ]41; DXC:         - [  ]