cbuffer2.51.ref 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. %dx.types.Handle = type { i8* }
  2. %dx.types.CBufRet.f32 = type { float, float, float, float }
  3. %dx.types.i8x16 = type { [16 x i8] }
  4. define void @main() {
  5. entry:
  6. %0 = call %dx.types.Handle @dx.op.createHandle(i32 57, i8 2, i32 0, i32 0, i1 false)
  7. %1 = call %dx.types.CBufRet.f32 @dx.op.cbufferLoadLegacy.f32(i32 59, %dx.types.Handle %0, i32 0)
  8. %2 = extractvalue %dx.types.CBufRet.f32 %1, 3
  9. %3 = extractvalue %dx.types.CBufRet.f32 %1, 1
  10. call void @dx.op.storeOutput.f32(i32 5, i32 0, i32 0, i8 0, float %2)
  11. call void @dx.op.storeOutput.f32(i32 5, i32 0, i32 0, i8 1, float %3)
  12. call void @dx.op.storeOutput.f32(i32 5, i32 0, i32 0, i8 2, float %3)
  13. call void @dx.op.storeOutput.f32(i32 5, i32 0, i32 0, i8 3, float %3)
  14. ret void
  15. }
  16. ; Function Attrs: nounwind readonly
  17. declare %dx.types.Handle @dx.op.createHandle(i32, i8, i32, i32, i1) #0
  18. ; Function Attrs: nounwind readonly
  19. declare %dx.types.CBufRet.f32 @dx.op.cbufferLoadLegacy.f32(i32, %dx.types.Handle, i32) #0
  20. ; Function Attrs: nounwind
  21. declare void @dx.op.storeOutput.f32(i32, i32, i32, i8, float) #1
  22. attributes #0 = { nounwind readonly }
  23. attributes #1 = { nounwind }
  24. !dx.version = !{!0}
  25. !dx.valver = !{!0}
  26. !dx.shaderModel = !{!1}
  27. !dx.resources = !{!2}
  28. !dx.entryPoints = !{!5}
  29. !llvm.ident = !{!10}
  30. !0 = !{i32 1, i32 0}
  31. !1 = !{!"ps", i32 6, i32 0}
  32. !2 = !{null, null, !3, null}
  33. !3 = !{!4}
  34. !4 = !{i32 0, %dx.types.i8x16 addrspace(2)* undef, !"CB0", i32 0, i32 0, i32 1, i32 16, null}
  35. !5 = !{void ()* @main, !"main", !6, !2, null}
  36. !6 = !{null, !7, null}
  37. !7 = !{!8}
  38. !8 = !{i32 0, !"SV_Target", i8 9, i8 16, !9, i8 0, i32 1, i8 4, i32 0, i8 0, null}
  39. !9 = !{i32 0}
  40. !10 = !{!"dxbc2dxil 1.2"}