123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- define void @main() {
- entry:
- %0 = call float @dx.op.loadInput.f32(i32 4, i32 0, i32 0, i8 0, i32 undef)
- %1 = call float @dx.op.loadInput.f32(i32 4, i32 1, i32 0, i8 0, i32 undef)
- %2 = fcmp fast olt float %0, %1
- %3 = select i1 %2, float 0.000000e+00, float 1.000000e+00
- call void @dx.op.storeOutput.f32(i32 5, i32 0, i32 0, i8 0, float %3)
- ret void
- }
- ; Function Attrs: nounwind readnone
- declare float @dx.op.loadInput.f32(i32, i32, i32, i8, i32) #0
- ; Function Attrs: nounwind
- declare void @dx.op.tempRegStore.i32(i32, i32, i32) #1
- ; Function Attrs: nounwind readonly
- declare i32 @dx.op.tempRegLoad.i32(i32, i32) #2
- ; Function Attrs: nounwind
- declare void @dx.op.storeOutput.f32(i32, i32, i32, i8, float) #1
- attributes #0 = { nounwind readnone }
- attributes #1 = { nounwind }
- attributes #2 = { nounwind readonly }
- !dx.version = !{!0}
- !dx.valver = !{!0}
- !dx.shaderModel = !{!1}
- !dx.entryPoints = !{!2}
- !llvm.ident = !{!11}
- !0 = !{i32 1, i32 0}
- !1 = !{!"ps", i32 6, i32 0}
- !2 = !{void ()* @main, !"main", !3, null, !10}
- !3 = !{!4, !8, null}
- !4 = !{!5, !7}
- !5 = !{i32 0, !"A", i8 9, i8 0, !6, i8 2, i32 1, i8 1, i32 0, i8 0, null}
- !6 = !{i32 0}
- !7 = !{i32 1, !"B", i8 9, i8 0, !6, i8 2, i32 1, i8 1, i32 0, i8 1, null}
- !8 = !{!9}
- !9 = !{i32 0, !"SV_Target", i8 9, i8 16, !6, i8 0, i32 1, i8 1, i32 0, i8 0, null}
- !10 = !{i32 0, i64 256}
- !11 = !{!"dxbc2dxil 1.2"}
|