output2.ref 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. define void @main() {
  2. entry:
  3. %0 = call float @dx.op.loadInput.f32(i32 4, i32 0, i32 0, i8 0, i32 undef)
  4. %1 = call float @dx.op.loadInput.f32(i32 4, i32 0, i32 0, i8 1, i32 undef)
  5. %2 = call float @dx.op.loadInput.f32(i32 4, i32 0, i32 0, i8 2, i32 undef)
  6. %3 = call float @dx.op.loadInput.f32(i32 4, i32 0, i32 0, i8 3, i32 undef)
  7. %4 = call float @dx.op.loadInput.f32(i32 4, i32 1, i32 0, i8 0, i32 undef)
  8. %5 = call float @dx.op.loadInput.f32(i32 4, i32 1, i32 0, i8 1, i32 undef)
  9. %6 = call float @dx.op.loadInput.f32(i32 4, i32 1, i32 0, i8 2, i32 undef)
  10. %7 = call float @dx.op.loadInput.f32(i32 4, i32 1, i32 0, i8 3, i32 undef)
  11. %8 = fadd fast float %0, %4
  12. %9 = fadd fast float %1, %5
  13. %10 = fadd fast float %2, %6
  14. %11 = fadd fast float %3, %7
  15. call void @dx.op.storeOutput.f32(i32 5, i32 2, i32 0, i8 0, float %8)
  16. call void @dx.op.storeOutput.f32(i32 5, i32 0, i32 0, i8 0, float %8)
  17. call void @dx.op.storeOutput.f32(i32 5, i32 0, i32 0, i8 1, float %9)
  18. call void @dx.op.storeOutput.f32(i32 5, i32 0, i32 0, i8 2, float %10)
  19. call void @dx.op.storeOutput.f32(i32 5, i32 0, i32 0, i8 3, float %11)
  20. call void @dx.op.storeOutput.f32(i32 5, i32 1, i32 0, i8 0, float %8)
  21. call void @dx.op.storeOutput.f32(i32 5, i32 1, i32 0, i8 1, float %9)
  22. call void @dx.op.storeOutput.f32(i32 5, i32 1, i32 0, i8 2, float %10)
  23. call void @dx.op.storeOutput.f32(i32 5, i32 1, i32 0, i8 3, float %11)
  24. ret void
  25. }
  26. ; Function Attrs: nounwind readnone
  27. declare float @dx.op.loadInput.f32(i32, i32, i32, i8, i32) #0
  28. ; Function Attrs: nounwind
  29. declare void @dx.op.tempRegStore.f32(i32, i32, float) #1
  30. ; Function Attrs: nounwind readonly
  31. declare i32 @dx.op.tempRegLoad.i32(i32, i32) #2
  32. ; Function Attrs: nounwind readnone
  33. declare float @dx.op.bitcastI32toF32(i32, i32) #0
  34. ; Function Attrs: nounwind
  35. declare void @dx.op.storeOutput.f32(i32, i32, i32, i8, float) #1
  36. ; Function Attrs: nounwind readonly
  37. declare float @dx.op.tempRegLoad.f32(i32, i32) #2
  38. ; Function Attrs: nounwind readnone
  39. declare i32 @dx.op.bitcastF32toI32(i32, float) #0
  40. attributes #0 = { nounwind readnone }
  41. attributes #1 = { nounwind }
  42. attributes #2 = { nounwind readonly }
  43. !dx.version = !{!0}
  44. !dx.valver = !{!0}
  45. !dx.shaderModel = !{!1}
  46. !dx.entryPoints = !{!2}
  47. !llvm.ident = !{!14}
  48. !0 = !{i32 1, i32 0}
  49. !1 = !{!"ps", i32 6, i32 0}
  50. !2 = !{void ()* @main, !"main", !3, null, !13}
  51. !3 = !{!4, !8, null}
  52. !4 = !{!5, !7}
  53. !5 = !{i32 0, !"A", i8 9, i8 0, !6, i8 2, i32 1, i8 4, i32 0, i8 0, null}
  54. !6 = !{i32 0}
  55. !7 = !{i32 1, !"B", i8 9, i8 0, !6, i8 2, i32 1, i8 4, i32 1, i8 0, null}
  56. !8 = !{!9, !10, !12}
  57. !9 = !{i32 0, !"SV_Target", i8 9, i8 16, !6, i8 0, i32 1, i8 4, i32 0, i8 0, null}
  58. !10 = !{i32 1, !"SV_Target", i8 9, i8 16, !11, i8 0, i32 1, i8 4, i32 5, i8 0, null}
  59. !11 = !{i32 5}
  60. !12 = !{i32 2, !"SV_DepthGreaterEqual", i8 9, i8 19, !6, i8 0, i32 1, i8 1, i32 -1, i8 -1, null}
  61. !13 = !{i32 0, i64 256}
  62. !14 = !{!"dxbc2dxil 1.2"}