| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- %dx.types.Handle = type { i8* }
- %dx.types.SamplePos = type { float, float }
- %dx.types.f32 = type { float }
- define void @main() {
- entry:
- %0 = call %dx.types.Handle @dx.op.createHandle(i32 57, i8 0, i32 0, i32 0, i1 false)
- %1 = call %dx.types.Handle @dx.op.createHandle(i32 57, i8 0, i32 1, i32 1, i1 false)
- %2 = call float @dx.op.loadInput.f32(i32 4, i32 0, i32 0, i8 2, i32 undef)
- %3 = call float @dx.op.loadInput.f32(i32 4, i32 0, i32 0, i8 3, i32 undef)
- %4 = call float @dx.op.loadInput.f32(i32 4, i32 0, i32 0, i8 1, i32 undef)
- %5 = fptosi float %2 to i32
- %6 = fptosi float %3 to i32
- %7 = fptosi float %4 to i32
- %8 = call %dx.types.SamplePos @dx.op.texture2DMSGetSamplePosition(i32 75, %dx.types.Handle %0, i32 %5)
- %9 = extractvalue %dx.types.SamplePos %8, 0
- %10 = extractvalue %dx.types.SamplePos %8, 1
- %11 = call %dx.types.SamplePos @dx.op.texture2DMSGetSamplePosition(i32 75, %dx.types.Handle %1, i32 %6)
- %12 = extractvalue %dx.types.SamplePos %11, 0
- %13 = extractvalue %dx.types.SamplePos %11, 1
- %14 = call %dx.types.SamplePos @dx.op.renderTargetGetSamplePosition(i32 76, i32 %7)
- %15 = extractvalue %dx.types.SamplePos %14, 0
- %16 = extractvalue %dx.types.SamplePos %14, 1
- %17 = fadd fast float %9, %12
- %18 = fadd fast float %10, %13
- %19 = call %dx.types.SamplePos @dx.op.renderTargetGetSamplePosition(i32 76, i32 3)
- %20 = extractvalue %dx.types.SamplePos %19, 0
- %21 = extractvalue %dx.types.SamplePos %19, 1
- %22 = fadd fast float %17, %20
- %23 = fadd fast float %18, %21
- %24 = fadd fast float %15, %22
- %25 = fadd fast float %16, %23
- call void @dx.op.storeOutput.f32(i32 5, i32 0, i32 0, i8 0, float %24)
- call void @dx.op.storeOutput.f32(i32 5, i32 0, i32 0, i8 1, float %25)
- %26 = fadd fast float %24, 5.000000e+00
- %27 = fadd fast float %25, 5.000000e+00
- call void @dx.op.storeOutput.f32(i32 5, i32 1, i32 0, i8 0, float %26)
- call void @dx.op.storeOutput.f32(i32 5, i32 1, i32 0, i8 1, float %27)
- call void @dx.op.storeOutput.f32(i32 5, i32 0, i32 0, i8 2, float 0.000000e+00)
- call void @dx.op.storeOutput.f32(i32 5, i32 0, i32 0, i8 3, float 0.000000e+00)
- call void @dx.op.storeOutput.f32(i32 5, i32 1, i32 0, i8 2, float 5.000000e+00)
- call void @dx.op.storeOutput.f32(i32 5, i32 1, i32 0, i8 3, float 5.000000e+00)
- ret void
- }
- ; Function Attrs: nounwind readonly
- declare %dx.types.Handle @dx.op.createHandle(i32, i8, i32, i32, i1) #0
- ; Function Attrs: nounwind readnone
- declare float @dx.op.loadInput.f32(i32, i32, i32, i8, i32) #1
- ; Function Attrs: nounwind
- declare void @dx.op.tempRegStore.i32(i32, i32, i32) #2
- ; Function Attrs: nounwind readonly
- declare i32 @dx.op.tempRegLoad.i32(i32, i32) #0
- ; Function Attrs: nounwind readonly
- declare %dx.types.SamplePos @dx.op.texture2DMSGetSamplePosition(i32, %dx.types.Handle, i32) #0
- ; Function Attrs: nounwind
- declare void @dx.op.tempRegStore.f32(i32, i32, float) #2
- ; Function Attrs: nounwind readonly
- declare %dx.types.SamplePos @dx.op.renderTargetGetSamplePosition(i32, i32) #0
- ; Function Attrs: nounwind readonly
- declare float @dx.op.tempRegLoad.f32(i32, i32) #0
- ; Function Attrs: nounwind
- declare void @dx.op.storeOutput.f32(i32, i32, i32, i8, float) #2
- ; Function Attrs: nounwind readnone
- declare float @dx.op.bitcastI32toF32(i32, i32) #1
- ; Function Attrs: nounwind readnone
- declare i32 @dx.op.bitcastF32toI32(i32, float) #1
- attributes #0 = { nounwind readonly }
- attributes #1 = { nounwind readnone }
- attributes #2 = { nounwind }
- !dx.version = !{!0}
- !dx.valver = !{!0}
- !dx.shaderModel = !{!1}
- !dx.resources = !{!2}
- !dx.entryPoints = !{!7}
- !llvm.ident = !{!17}
- !0 = !{i32 1, i32 0}
- !1 = !{!"ps", i32 6, i32 0}
- !2 = !{!3, null, null, null}
- !3 = !{!4, !6}
- !4 = !{i32 0, %dx.types.f32 addrspace(1)* undef, !"T0", i32 0, i32 0, i32 1, i32 3, i32 0, !5}
- !5 = !{i32 0, i32 9}
- !6 = !{i32 1, %dx.types.f32 addrspace(1)* undef, !"T1", i32 0, i32 1, i32 1, i32 8, i32 0, !5}
- !7 = !{void ()* @main, !"main", !8, !2, !16}
- !8 = !{!9, !12, null}
- !9 = !{!10}
- !10 = !{i32 0, !"A", i8 9, i8 0, !11, i8 2, i32 1, i8 4, i32 0, i8 0, null}
- !11 = !{i32 0}
- !12 = !{!13, !14}
- !13 = !{i32 0, !"SV_Target", i8 9, i8 16, !11, i8 0, i32 1, i8 4, i32 0, i8 0, null}
- !14 = !{i32 1, !"SV_Target", i8 9, i8 16, !15, i8 0, i32 1, i8 4, i32 1, i8 0, null}
- !15 = !{i32 1}
- !16 = !{i32 0, i64 256}
- !17 = !{!"dxbc2dxil 1.2"}
|