WIP: reconstruct color kernels, camera tables and native inspector; integration checks pending
这个提交包含在:
1 父节点
10987dd6bc
当前提交
2f11e8bd0f
52 个文件已更改
+11421
-835
没有与搜索条件相匹配的文件
@@ -0,0 +1,683 @@
|
||||
; Reconstructed numeric instruction graph; see PROVENANCE.json.
|
||||
source_filename = "dyWhitesSceneStatistics"
|
||||
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v16:16:16-v24:32:32-v32:32:32-v48:64:64-v64:64:64-v96:128:128-v128:128:128-v192:256:256-v256:256:256-v512:512:512-v1024:1024:1024-n8:16:32"
|
||||
target triple = "air64_v26-apple-macosx14.6.0"
|
||||
|
||||
%"struct.metal::_atomic" = type { i32 }
|
||||
%struct._texture_2d_t = type opaque
|
||||
%struct._texture_3d_t = type opaque
|
||||
%struct.DYUniforms = type { float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, <4 x float>, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, float, <4 x float>, float, float, float, float, float, float, float, float, float, float, float, float, <4 x float>, <2 x float>, <2 x float>, <2 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <3 x float>, <3 x float>, float, float, float, <4 x float>, <4 x float>, <3 x float>, <3 x float>, float, float, float, float, float, float, float, <3 x float>, <3 x float>, <3 x float>, <3 x float>, float, <3 x float>, float, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, float, <4 x float>, <2 x float>, <2 x float>, float, float, <3 x float>, <3 x float>, <3 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float>, <4 x float> }
|
||||
%struct._sampler_t = type opaque
|
||||
|
||||
@_ZZ21dyWhitesSceneStatisticsN5metal9texture2dIDhLNS_6accessE0EvEENS_9texture3dIfLS1_0EvEERU11MTLconstantK17DYUniformsPU9MTLdevicefjE9histogram = internal addrspace(3) global [256 x %"struct.metal::_atomic"] zeroinitializer, align 4
|
||||
@_ZL14lgChromaScales = internal unnamed_addr addrspace(2) constant [6 x [7 x [33 x float]]] [[7 x [33 x float]] [[33 x float] [float 0x3FD5539260000000, float 0x3FD5C51660000000, float 0x3FD6369120000000, float 0x3FD6A820A0000000, float 0x3FD71B7180000000, float 0x3FD793B380000000, float 0x3FD8143720000000, float 0x3FD89EEBC0000000, float 0x3FD932D480000000, float 0x3FD9CC4500000000, float 0x3FDA66CA80000000, float 0x3FDAFFA180000000, float 0x3FDB9AC380000000, float 0x3FDC469EA0000000, float 0x3FDD1DF7A0000000, float 0x3FDE466680000000, float 0x3FDFEFC400000000, float 0x3FE128C5E0000000, float 0x3FE2D262C0000000, float 0x3FE50EF9A0000000, float 0x3FE7F41DC0000000, float 0x3FEB90E840000000, float 0x3FEFEDE5C0000000, float 0x3FF284E6E0000000, float 0x3FF56CF9E0000000, float 0x3FF8A4FB20000000, float 0x3FFC1E07C0000000, float 0x3FFFC4BCA0000000, float 0x4001C125C0000000, float 0x4003A22440000000, float 0x4005828680000000, float 0x400762A900000000, float 3.000000e+00], [33 x float] [float 0x3FE1F31A80000000, float 0x3FE24DE8E0000000, float 0x3FE2A8B740000000, float 0x3FE303BAE0000000, float 0x3FE35F6CA0000000, float 0x3FE3BC16C0000000, float 0x3FE4191BA0000000, float 0x3FE474DDE0000000, float 0x3FE4CCBE60000000, float 0x3FE51DE2E0000000, float 0x3FE5665720000000, float 0x3FE5A66EC0000000, float 0x3FE5E39FA0000000, float 0x3FE628DD60000000, float 0x3FE686D9C0000000, float 0x3FE712B8E0000000, float 0x3FE7E53BC0000000, float 0x3FE918EDE0000000, float 0x3FEAC65460000000, float 0x3FED000600000000, float 0x3FEFD1CBC0000000, float 0x3FF1A01C40000000, float 0x3FF3A49220000000, float 0x3FF5F09740000000, float 0x3FF87A2140000000, float 0x3FFB32BD40000000, float 0x3FFE07CFC0000000, float 0x4000716740000000, float 0x4001D82BA0000000, float 0x40033A7F80000000, float 0x40049B5280000000, float 0x4005FBE960000000, float 0x40075C77E0000000], [33 x float] [float 0x3FE7F5C200000000, float 0x3FE83A93C0000000, float 0x3FE87F6480000000, float 0x3FE8C44680000000, float 0x3FE90932A0000000, float 0x3FE94DB660000000, float 0x3FE990E6C0000000, float 0x3FE9D17D80000000, float 0x3FEA0E1F80000000, float 0x3FEA45F500000000, float 0x3FEA790DE0000000, float 0x3FEAA8C9E0000000, float 0x3FEAD89140000000, float 0x3FEB0D8580000000, float 0x3FEB4E9660000000, float 0x3FEBA37DE0000000, float 0x3FEC1491E0000000, float 0x3FECAA2A20000000, float 0x3FED6AEC40000000, float 0x3FEE5B2220000000, float 0x3FEF7D8160000000, float 0x3FF0699360000000, float 0x3FF12DD280000000, float 0x3FF20A4520000000, float 0x3FF2FCA360000000, float 0x3FF4018DA0000000, float 0x3FF5149A40000000, float 0x3FF63061C0000000, float 0x3FF74F84E0000000, float 0x3FF8702520000000, float 0x3FF9917700000000, float 0x3FFAB2EC00000000, float 0x3FFBD45F20000000], [33 x float] [float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00], [33 x float] [float 0x3FF504ADC0000000, float 0x3FF4CAC1C0000000, float 0x3FF490D400000000, float 0x3FF456E480000000, float 0x3FF41D6020000000, float 0x3FF3E50440000000, float 0x3FF3AE70C0000000, float 0x3FF379C960000000, float 0x3FF3467A40000000, float 0x3FF3133100000000, float 0x3FF2DDE360000000, float 0x3FF2A40480000000, float 0x3FF26314A0000000, float 0x3FF2195140000000, float 0x3FF1C5C000000000, float 0x3FF168BA40000000, float 0x3FF1032380000000, float 0x3FF095A6C0000000, float 0x3FF0209900000000, float 0x3FEF46E860000000, float 0x3FEE3A39C0000000, float 0x3FED19CC40000000, float 0x3FEBE56FC0000000, float 0x3FEA9DF900000000, float 0x3FE94531C0000000, float 0x3FE7DDEF20000000, float 0x3FE66C2280000000, float 0x3FE4F4A6A0000000, float 0x3FE37C2DE0000000, float 0x3FE203E780000000, float 0x3FE08BC2E0000000, float 0x3FDE274940000000, float 0x3FDB371320000000], [33 x float] [float 0x3FFB7E1FE0000000, float 0x3FFAD91140000000, float 0x3FFA33FE80000000, float 0x3FF98F0400000000, float 0x3FF8EB3BA0000000, float 0x3FF849DCE0000000, float 0x3FF7AB1A80000000, float 0x3FF70DCEE0000000, float 0x3FF66FC380000000, float 0x3FF5CE2DA0000000, float 0x3FF525E8A0000000, float 0x3FF4745D60000000, float 0x3FF3B89A20000000, float 0x3FF2F2E140000000, float 0x3FF223F0E0000000, float 0x3FF14E6A20000000, float 0x3FF0751420000000, float 0x3FEF338C60000000, float 0x3FED7B4CC0000000, float 0x3FEBC12040000000, float 0x3FEA02EA20000000, float 0x3FE83F26E0000000, float 0x3FE6755F40000000, float 0x3FE4A5FC40000000, float 0x3FE2D22AA0000000, float 0x3FE0FBC120000000, float 0x3FDE4AAF00000000, float 0x3Line truncated
|
||||
@_ZL12lgToneCurves = internal unnamed_addr addrspace(2) constant [6 x [7 x [33 x float]]] [[7 x [33 x float]] [[33 x float] [float 0.000000e+00, float 0x3F7EFB2800000000, float 0x3F92B7BF00000000, float 0x3F9DC082A0000000, float 0x3FA4701620000000, float 0x3FAA13EE40000000, float 0x3FAFD60B80000000, float 0x3FB2DED580000000, float 0x3FB5E8BC60000000, float 0x3FB90EAA20000000, float 0x3FBC562380000000, float 0x3FBFC3E500000000, float 0x3FC1AA9480000000, float 0x3FC3836200000000, float 0x3FC56C95E0000000, float 0x3FC76663C0000000, float 0x3FC972CBA0000000, float 0x3FCB9752E0000000, float 0x3FCDDA49A0000000, float 0x3FD0204540000000, float 0x3FD1658120000000, float 0x3FD2BE4620000000, float 0x3FD42C9C80000000, float 0x3FD5B32400000000, float 0x3FD753C8C0000000, float 0x3FD91188C0000000, float 0x3FDAF29A80000000, float 0x3FDD025C80000000, float 0x3FDF4FB240000000, float 0x3FE0ED37A0000000, float 0x3FE245FC00000000, float 0x3FE3A4C540000000, float 0x3FE504BAA0000000], [33 x float] [float 0.000000e+00, float 0x3F9095A5C0000000, float 0x3FA1B21240000000, float 0x3FAB1B1AE0000000, float 0x3FB2489580000000, float 0x3FB7168280000000, float 0x3FBC011E80000000, float 0x3FC0867C40000000, float 0x3FC31DE900000000, float 0x3FC5C74F20000000, float 0x3FC8805AE0000000, float 0x3FCB453100000000, float 0x3FCE118AA0000000, float 0x3FD0717940000000, float 0x3FD1DD37E0000000, float 0x3FD34D9520000000, float 0x3FD4C5D3C0000000, float 0x3FD64B2040000000, float 0x3FD7E28D80000000, float 0x3FD98FD200000000, float 0x3FDB53C960000000, float 0x3FDD2F94E0000000, float 0x3FDF245E20000000, float 0x3FE099B4E0000000, float 0x3FE1AEDF60000000, float 0x3FE2D36E60000000, float 0x3FE40BE240000000, float 0x3FE560CA20000000, float 0x3FE6DA1B00000000, float 0x3FE86DA020000000, float 0x3FEA0E3160000000, float 0x3FEBB263C0000000, float 0x3FED574A20000000], [33 x float] [float 0.000000e+00, float 0x3F973B9760000000, float 0x3FA7E40980000000, float 0x3FB2166020000000, float 0x3FB842B8E0000000, float 0x3FBE814D20000000, float 0x3FC26BF3C0000000, float 0x3FC5A3A200000000, float 0x3FC8E6E0A0000000, float 0x3FCC344100000000, float 0x3FCF8926A0000000, float 0x3FD17172A0000000, float 0x3FD31FB3A0000000, float 0x3FD4CEEBA0000000, float 0x3FD6800360000000, float 0x3FD834F7A0000000, float 0x3FD9F12D80000000, float 0x3FDBB92360000000, float 0x3FDD90A4A0000000, float 0x3FDF797860000000, float 0x3FE0B924C0000000, float 0x3FE1BCD960000000, float 0x3FE2C77460000000, float 0x3FE3D91600000000, float 0x3FE4F21220000000, float 0x3FE612F7C0000000, float 0x3FE73C8AA0000000, float 0x3FE86F7FC0000000, float 0x3FE9ABD640000000, float 0x3FEAEF1540000000, float 0x3FEC3614E0000000, float 0x3FED7E6080000000, float 0x3FEEC6FE40000000], [33 x float] [float 0.000000e+00, float 3.125000e-02, float 6.250000e-02, float 9.375000e-02, float 1.250000e-01, float 1.562500e-01, float 1.875000e-01, float 2.187500e-01, float 2.500000e-01, float 2.812500e-01, float 3.125000e-01, float 3.437500e-01, float 3.750000e-01, float 4.062500e-01, float 4.375000e-01, float 4.687500e-01, float 5.000000e-01, float 5.312500e-01, float 5.625000e-01, float 5.937500e-01, float 6.250000e-01, float 6.562500e-01, float 6.875000e-01, float 7.187500e-01, float 7.500000e-01, float 7.812500e-01, float 8.125000e-01, float 8.437500e-01, float 8.750000e-01, float 9.062500e-01, float 9.375000e-01, float 9.687500e-01, float 1.000000e+00], [33 x float] [float 0x3F66796E80000000, float 0x3FA6139860000000, float 0x3FB55F0060000000, float 0x3FBFABA880000000, float 0x3FC4EEFFC0000000, float 0x3FC9F30D60000000, float 0x3FCEE184A0000000, float 0x3FD1DF9C00000000, float 0x3FD448D240000000, float 0x3FD6AE2640000000, float 0x3FD91020C0000000, float 0x3FDB6D61E0000000, float 0x3FDDC32D80000000, float 0x3FE006EE80000000, float 0x3FE124AD60000000, float 0x3FE2397140000000, float 0x3FE344DBA0000000, float 0x3FE4474200000000, float 0x3FE541B340000000, float 0x3FE6356760000000, float 0x3FE723E2C0000000, float 0x3FE80D93E0000000, float 0x3FE8F20800000000, float 0x3FE9D032E0000000, float 0x3FEAA72C60000000, float 0x3FEB764340000000, float 0x3FEC3D3D00000000, float 0x3FECFCCCE0000000, float 0x3FEDB68340000000, float 0x3FEE6C52E0000000, float 0x3FEF2005E0000000, float 0x3FEFD2EE00000000, float 1.000000e+00], [33 x float] [float 0x3F7FEE9D60000000, float 0x3FAE6517E0000000, float 0x3FBC62A280000000, float 0x3FC4B98CA0000000, float 0x3FCB1A9FE0000000, float 0x3FD0A2B4A0000000, float 0x3FD39E8880000000, float 0x3FD68704E0000000, float 0x3FD9617000000000, float 0x3FDC2F5BE0000000, float 0x3FDEEDE940000000, float 0x3FE0CACDA0000000, float 0x3FE20FCE00000000, float 0x3FE3437C20000000, float 0x3FE4646780000000, float 0x3FE5733B40000000, float 0x3FE6716C20000000, float 0x3FE75FEE20000000, float 0x3FE83FFC40000000, float 0x3FE91338A0000000, float 0x3FE9DCA500000000, float 0x3FEA9D5CE0000000, float 0x3FEB549B00000000, float 0x3FEC005020000000, float 0x3FEC9EFBE0000000, float 0x3FED303E40000000, float 0x3FEDB53A20000000, float 0x3FEE3099A0000000, floLine truncated
|
||||
@_ZL11lgToneModes = internal unnamed_addr addrspace(2) constant [6 x [7 x float]] [[7 x float] [float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 1.000000e+00], [7 x float] zeroinitializer, [7 x float] zeroinitializer, [7 x float] zeroinitializer, [7 x float] zeroinitializer, [7 x float] [float 1.000000e+00, float 1.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00]], align 4
|
||||
@_ZL7lgStops = internal unnamed_addr addrspace(2) constant [7 x float] [float -1.000000e+02, float -5.000000e+01, float -2.500000e+01, float 0.000000e+00, float 2.500000e+01, float 5.000000e+01, float 1.000000e+02], align 4
|
||||
@__air_sampler_state = internal addrspace(2) constant i64 -9188470239253755319, align 8
|
||||
|
||||
; Function Attrs: convergent nounwind
|
||||
define void @dyWhitesSceneStatistics(%struct._texture_2d_t addrspace(1)* %0, %struct._texture_3d_t addrspace(1)* nocapture readonly %1, %struct.DYUniforms addrspace(2)* nocapture readnone dereferenceable(944) "air-buffer-no-alias" %2, float addrspace(1)* nocapture "air-buffer-no-alias" %3, i32 %4) local_unnamed_addr #0 {
|
||||
%6 = zext i32 %4 to i64
|
||||
%7 = getelementptr inbounds [256 x %"struct.metal::_atomic"], [256 x %"struct.metal::_atomic"] addrspace(3)* @_ZZ21dyWhitesSceneStatisticsN5metal9texture2dIDhLNS_6accessE0EvEENS_9texture3dIfLS1_0EvEERU11MTLconstantK17DYUniformsPU9MTLdevicefjE9histogram, i64 0, i64 %6, i32 0
|
||||
tail call void @air.atomic.local.store.i32(i32 addrspace(3)* nocapture %7, i32 0, i32 0, i32 1, i1 true) #2
|
||||
tail call void @air.wg.barrier(i32 2, i32 1) #7
|
||||
%8 = icmp ult i32 %4, 65536
|
||||
br i1 %8, label %9, label %13
|
||||
|
||||
9: ; preds = %5
|
||||
%10 = and i32 %4, 255
|
||||
%11 = tail call fast float @air.convert.f.f32.u.i32(i32 %10) #1
|
||||
%12 = insertelement <2 x float> undef, float %11, i64 0
|
||||
br label %15
|
||||
|
||||
13: ; preds = %78, %5
|
||||
tail call void @air.wg.barrier(i32 2, i32 1) #7
|
||||
%14 = icmp eq i32 %4, 0
|
||||
br i1 %14, label %84, label %130
|
||||
|
||||
15: ; preds = %78, %9
|
||||
%16 = phi i32 [ %79, %78 ], [ %4, %9 ]
|
||||
%17 = lshr i32 %16, 8
|
||||
%18 = tail call fast float @air.convert.f.f32.u.i32(i32 %17) #1
|
||||
%19 = insertelement <2 x float> %12, float %18, i64 1
|
||||
%20 = fadd fast <2 x float> %19, <float 5.000000e-01, float 5.000000e-01>
|
||||
%21 = fmul fast <2 x float> %20, <float 3.906250e-03, float 3.906250e-03>
|
||||
%22 = tail call { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly %0, %struct._sampler_t addrspace(2)* nocapture readonly bitcast (i64 addrspace(2)* @__air_sampler_state to %struct._sampler_t addrspace(2)*), <2 x float> %21, i1 true, <2 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #4
|
||||
%23 = extractvalue { <4 x half>, i8 } %22, 0
|
||||
%24 = extractelement <4 x half> %23, i64 3
|
||||
%25 = fcmp fast ugt half %24, 0xH0000
|
||||
br i1 %25, label %26, label %78
|
||||
|
||||
26: ; preds = %15
|
||||
%27 = shufflevector <4 x half> %23, <4 x half> undef, <3 x i32> <i32 0, i32 1, i32 2>
|
||||
%28 = tail call fast <3 x float> @air.convert.f.v3f32.f.v3f16(<3 x half> %27) #1
|
||||
%29 = tail call fast <3 x float> @air.fast_fmax.v3f32(<3 x float> %28, <3 x float> zeroinitializer) #1
|
||||
%30 = tail call fast <3 x float> @air.fast_pow.v3f32(<3 x float> %29, <3 x float> <float 0x3FDAAAAAA0000000, float 0x3FDAAAAAA0000000, float 0x3FDAAAAAA0000000>) #1
|
||||
%31 = fmul fast <3 x float> %30, <float 0x3FF0E147A0000000, float 0x3FF0E147A0000000, float 0x3FF0E147A0000000>
|
||||
%32 = fadd fast <3 x float> %31, <float 0xBFAC28F5C0000000, float 0xBFAC28F5C0000000, float 0xBFAC28F5C0000000>
|
||||
%33 = fmul fast <3 x float> %28, <float 0x4029D70A40000000, float 0x4029D70A40000000, float 0x4029D70A40000000>
|
||||
%34 = fcmp fast ole <3 x float> %28, <float 0x3F69A5C380000000, float 0x3F69A5C380000000, float 0x3F69A5C380000000>
|
||||
%35 = select reassoc nsz arcp contract afn <3 x i1> %34, <3 x float> %33, <3 x float> %32
|
||||
%36 = tail call fast fastcc <3 x float> @_ZL13applyExposureDv3_fRU11MTLconstantK17DYUniforms(<3 x float> %35, %struct.DYUniforms addrspace(2)* dereferenceable(944) %2) #8
|
||||
%37 = tail call fast float @air.fast_clamp.f32(float 1.000000e+00, float 0.000000e+00, float 1.000000e+00) #1
|
||||
%38 = fcmp fast ugt float %37, 0x3EE4F8B580000000
|
||||
br i1 %38, label %39, label %58
|
||||
|
||||
39: ; preds = %26
|
||||
%40 = tail call i32 @air.get_width_texture_3d(%struct._texture_3d_t addrspace(1)* nocapture readonly %1, i32 0) #5, !alias.scope !24, !noalias !27
|
||||
%41 = tail call fast float @air.convert.f.f32.u.i32(i32 %40) #1
|
||||
%42 = tail call fast <3 x float> @air.fast_clamp.v3f32(<3 x float> %36, <3 x float> zeroinitializer, <3 x float> <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>) #1
|
||||
%43 = fadd fast float %41, -1.000000e+00
|
||||
%44 = fdiv fast float %43, %41
|
||||
%45 = insertelement <3 x float> undef, float %44, i64 0
|
||||
%46 = shufflevector <3 x float> %45, <3 x float> undef, <3 x i32> zeroinitializer
|
||||
%47 = fmul fast <3 x float> %46, %42
|
||||
%48 = fdiv fast float 5.000000e-01, %41
|
||||
%49 = insertelement <3 x float> undef, float %48, i64 0
|
||||
%50 = shufflevector <3 x float> %49, <3 x float> undef, <3 x i32> zeroinitializer
|
||||
%51 = fadd fast <3 x float> %47, %50
|
||||
%52 = tail call { <4 x float>, i8 } @air.sample_texture_3d.v4f32(%struct._texture_3d_t addrspace(1)* nocapture readonly %1, %struct._sampler_t addrspace(2)* nocapture readonly bitcast (i64 addrspace(2)* @__air_sampler_state to %struct._sampler_t addrspace(2)*), <3 x float> %51, i1 true, <3 x i32> zeroinitializer, i1 false, float 0.000000e+00, float 0.000000e+00, i32 0) #4
|
||||
%53 = extractvalue { <4 x float>, i8 } %52, 0
|
||||
%54 = shufflevector <4 x float> %53, <4 x float> undef, <3 x i32> <i32 0, i32 1, i32 2>
|
||||
%55 = insertelement <3 x float> undef, float %37, i64 0
|
||||
%56 = shufflevector <3 x float> %55, <3 x float> undef, <3 x i32> zeroinitializer
|
||||
%57 = tail call fast <3 x float> @air.mix.v3f32(<3 x float> %36, <3 x float> %54, <3 x float> %56) #1
|
||||
br label %58
|
||||
|
||||
58: ; preds = %39, %26
|
||||
%59 = phi <3 x float> [ %57, %39 ], [ %36, %26 ]
|
||||
%60 = tail call fast fastcc <3 x float> @_ZL26applyToneAfterWhiteBalanceDv3_fRU11MTLconstantK17DYUniforms(<3 x float> %59, %struct.DYUniforms addrspace(2)* dereferenceable(944) %2) #8
|
||||
%61 = tail call fast float @air.dot.v3f32(<3 x float> %60, <3 x float> <float 0x3FCB367A00000000, float 0x3FE6E2EB20000000, float 0x3FB27BB300000000>) #1
|
||||
%62 = tail call fast float @air.fast_clamp.f32(float %61, float 0.000000e+00, float 1.000000e+00) #1
|
||||
%63 = fmul fast float %62, 2.550000e+02
|
||||
%64 = tail call i32 @air.convert.u.i32.f.f32(float %63) #1
|
||||
%65 = tail call i32 @air.min.u.i32(i32 %64, i32 254) #1
|
||||
%66 = tail call fast float @air.convert.f.f32.u.i32(i32 %65) #1
|
||||
%67 = fsub fast float %63, %66
|
||||
%68 = fmul fast float %67, 1.024000e+03
|
||||
%69 = tail call i32 @air.convert.u.i32.f.f32(float %68) #1
|
||||
%70 = zext i32 %65 to i64
|
||||
%71 = sub i32 1024, %69
|
||||
%72 = getelementptr inbounds [256 x %"struct.metal::_atomic"], [256 x %"struct.metal::_atomic"] addrspace(3)* @_ZZ21dyWhitesSceneStatisticsN5metal9texture2dIDhLNS_6accessE0EvEENS_9texture3dIfLS1_0EvEERU11MTLconstantK17DYUniformsPU9MTLdevicefjE9histogram, i64 0, i64 %70, i32 0
|
||||
%73 = tail call i32 @air.atomic.local.add.u.i32(i32 addrspace(3)* nocapture %72, i32 %71, i32 0, i32 1, i1 true) #2
|
||||
%74 = add i32 %65, 1
|
||||
%75 = zext i32 %74 to i64
|
||||
%76 = getelementptr inbounds [256 x %"struct.metal::_atomic"], [256 x %"struct.metal::_atomic"] addrspace(3)* @_ZZ21dyWhitesSceneStatisticsN5metal9texture2dIDhLNS_6accessE0EvEENS_9texture3dIfLS1_0EvEERU11MTLconstantK17DYUniformsPU9MTLdevicefjE9histogram, i64 0, i64 %75, i32 0
|
||||
%77 = tail call i32 @air.atomic.local.add.u.i32(i32 addrspace(3)* nocapture %76, i32 %69, i32 0, i32 1, i1 true) #2
|
||||
br label %78
|
||||
|
||||
78: ; preds = %58, %15
|
||||
%79 = add nuw nsw i32 %16, 256
|
||||
%80 = icmp ult i32 %16, 65280
|
||||
br i1 %80, label %15, label %13, !llvm.loop !30
|
||||
|
||||
81: ; preds = %84
|
||||
%82 = fmul fast float %91, 0x3FEEB851E0000000
|
||||
%83 = fmul fast float %91, 0x3FEFD70A40000000
|
||||
br label %96
|
||||
|
||||
84: ; preds = %84, %13
|
||||
%85 = phi float [ %91, %84 ], [ 0.000000e+00, %13 ]
|
||||
%86 = phi i32 [ %92, %84 ], [ 0, %13 ]
|
||||
%87 = zext i32 %86 to i64
|
||||
%88 = getelementptr inbounds [256 x %"struct.metal::_atomic"], [256 x %"struct.metal::_atomic"] addrspace(3)* @_ZZ21dyWhitesSceneStatisticsN5metal9texture2dIDhLNS_6accessE0EvEENS_9texture3dIfLS1_0EvEERU11MTLconstantK17DYUniformsPU9MTLdevicefjE9histogram, i64 0, i64 %87, i32 0
|
||||
%89 = tail call i32 @air.atomic.local.load.i32(i32 addrspace(3)* nocapture %88, i32 0, i32 1, i1 true) #2
|
||||
%90 = tail call fast float @air.convert.f.f32.u.i32(i32 %89) #1
|
||||
%91 = fadd fast float %90, %85
|
||||
%92 = add nuw nsw i32 %86, 1
|
||||
%93 = icmp eq i32 %92, 256
|
||||
br i1 %93, label %81, label %84, !llvm.loop !32
|
||||
|
||||
94: ; preds = %120
|
||||
%95 = fcmp fast ogt float %91, 0.000000e+00
|
||||
br i1 %95, label %124, label %128
|
||||
|
||||
96: ; preds = %120, %81
|
||||
%97 = phi i32 [ 0, %81 ], [ %122, %120 ]
|
||||
%98 = phi float [ 0.000000e+00, %81 ], [ %121, %120 ]
|
||||
%99 = phi float [ 0.000000e+00, %81 ], [ %105, %120 ]
|
||||
%100 = zext i32 %97 to i64
|
||||
%101 = getelementptr inbounds [256 x %"struct.metal::_atomic"], [256 x %"struct.metal::_atomic"] addrspace(3)* @_ZZ21dyWhitesSceneStatisticsN5metal9texture2dIDhLNS_6accessE0EvEENS_9texture3dIfLS1_0EvEERU11MTLconstantK17DYUniformsPU9MTLdevicefjE9histogram, i64 0, i64 %100, i32 0
|
||||
%102 = tail call i32 @air.atomic.local.load.i32(i32 addrspace(3)* nocapture %101, i32 0, i32 1, i1 true) #2
|
||||
%103 = tail call fast float @air.convert.f.f32.u.i32(i32 %102) #1
|
||||
%104 = tail call fast float @air.fast_fmax.f32(float %82, float %99) #1
|
||||
%105 = fadd fast float %103, %99
|
||||
%106 = tail call fast float @air.fast_fmin.f32(float %83, float %105) #1
|
||||
%107 = fcmp fast ogt float %106, %104
|
||||
br i1 %107, label %108, label %120
|
||||
|
||||
108: ; preds = %96
|
||||
%109 = tail call fast float @air.convert.f.f32.u.i32(i32 %97) #1
|
||||
%110 = fadd fast float %106, %104
|
||||
%111 = fmul fast float %110, 5.000000e-01
|
||||
%112 = fsub fast float %111, %99
|
||||
%113 = fdiv fast float %112, %103
|
||||
%114 = fadd fast float %113, -5.000000e-01
|
||||
%115 = fadd fast float %114, %109
|
||||
%116 = fsub fast float %106, %104
|
||||
%117 = fmul fast float %116, 0x3F70101020000000
|
||||
%118 = fmul fast float %117, %115
|
||||
%119 = fadd fast float %118, %98
|
||||
br label %120
|
||||
|
||||
120: ; preds = %108, %96
|
||||
%121 = phi float [ %119, %108 ], [ %98, %96 ]
|
||||
%122 = add nuw nsw i32 %97, 1
|
||||
%123 = icmp eq i32 %122, 256
|
||||
br i1 %123, label %94, label %96, !llvm.loop !33
|
||||
|
||||
124: ; preds = %94
|
||||
%125 = fmul fast float %91, 0x3FA1EB8600000000
|
||||
%126 = fdiv fast float %121, %125
|
||||
%127 = tail call fast float @air.fast_clamp.f32(float %126, float 0x3FD6666660000000, float 1.000000e+00) #1
|
||||
br label %128
|
||||
|
||||
128: ; preds = %124, %94
|
||||
%129 = phi float [ %127, %124 ], [ 1.000000e+00, %94 ]
|
||||
store float %129, float addrspace(1)* %3, align 4, !tbaa !34, !alias.scope !38, !noalias !39
|
||||
br label %130
|
||||
|
||||
130: ; preds = %128, %13
|
||||
ret void
|
||||
}
|
||||
|
||||
; Function Attrs: nounwind readnone
|
||||
declare float @air.fast_clamp.f32(float, float, float) local_unnamed_addr #1
|
||||
|
||||
; Function Attrs: nounwind readnone
|
||||
declare float @air.convert.f.f32.u.i32(i32) local_unnamed_addr #1
|
||||
|
||||
; Function Attrs: nounwind readnone
|
||||
declare float @air.fast_fmin.f32(float, float) local_unnamed_addr #1
|
||||
|
||||
; Function Attrs: nounwind readnone
|
||||
declare float @air.fast_fmax.f32(float, float) local_unnamed_addr #1
|
||||
|
||||
; Function Attrs: nounwind
|
||||
declare i32 @air.atomic.local.load.i32(i32 addrspace(3)* nocapture, i32, i32, i1) local_unnamed_addr #2
|
||||
|
||||
; Function Attrs: nounwind
|
||||
declare i32 @air.atomic.local.add.u.i32(i32 addrspace(3)* nocapture, i32, i32, i32, i1) local_unnamed_addr #2
|
||||
|
||||
; Function Attrs: nounwind readnone
|
||||
declare i32 @air.convert.u.i32.f.f32(float) local_unnamed_addr #1
|
||||
|
||||
; Function Attrs: nounwind readnone
|
||||
declare i32 @air.min.u.i32(i32, i32) local_unnamed_addr #1
|
||||
|
||||
; Function Attrs: nounwind readnone
|
||||
declare float @air.dot.v3f32(<3 x float>, <3 x float>) local_unnamed_addr #1
|
||||
|
||||
; Function Attrs: inlinehint nounwind readnone
|
||||
define internal fastcc <3 x float> @_ZL26applyToneAfterWhiteBalanceDv3_fRU11MTLconstantK17DYUniforms(<3 x float> %0, %struct.DYUniforms addrspace(2)* nocapture readonly dereferenceable(944) %1) unnamed_addr #3 {
|
||||
%3 = getelementptr inbounds %struct.DYUniforms, %struct.DYUniforms addrspace(2)* %1, i64 0, i32 31
|
||||
%4 = load float, float addrspace(2)* %3, align 8, !tbaa !40
|
||||
%5 = fcmp fast ugt float %4, 5.000000e-01
|
||||
br i1 %5, label %6, label %122
|
||||
|
||||
6: ; preds = %2
|
||||
%7 = getelementptr inbounds %struct.DYUniforms, %struct.DYUniforms addrspace(2)* %1, i64 0, i32 18
|
||||
%8 = load float, float addrspace(2)* %7, align 4, !tbaa !42
|
||||
%9 = fcmp fast ogt float %8, 5.000000e-01
|
||||
%10 = getelementptr inbounds %struct.DYUniforms, %struct.DYUniforms addrspace(2)* %1, i64 0, i32 1
|
||||
%11 = load float, float addrspace(2)* %10, align 4
|
||||
%12 = select fast i1 %9, float %11, float 0.000000e+00
|
||||
%13 = tail call fast float @air.fast_fabs.f32(float %12) #1
|
||||
%14 = fcmp fast olt float %13, 0x3E7AD7F2A0000000
|
||||
br i1 %14, label %44, label %15
|
||||
|
||||
15: ; preds = %6
|
||||
%16 = tail call fast float @air.fast_clamp.f32(float %12, float -1.000000e+02, float 1.000000e+02) #1
|
||||
br label %17
|
||||
|
||||
17: ; preds = %20, %15
|
||||
%18 = phi i32 [ 0, %15 ], [ %21, %20 ]
|
||||
%19 = icmp eq i32 %18, 5
|
||||
br i1 %19, label %26, label %20
|
||||
|
||||
20: ; preds = %17
|
||||
%21 = add nuw nsw i32 %18, 1
|
||||
%22 = zext i32 %21 to i64
|
||||
%23 = getelementptr inbounds [7 x float], [7 x float] addrspace(2)* @_ZL7lgStops, i64 0, i64 %22
|
||||
%24 = load float, float addrspace(2)* %23, align 4, !tbaa !34
|
||||
%25 = fcmp fast ogt float %24, %16
|
||||
br i1 %25, label %26, label %17, !llvm.loop !43
|
||||
|
||||
26: ; preds = %20, %17
|
||||
%27 = icmp ult i32 %18, 5
|
||||
%28 = select i1 %27, i32 %18, i32 5
|
||||
%29 = zext i32 %28 to i64
|
||||
%30 = getelementptr inbounds [7 x float], [7 x float] addrspace(2)* @_ZL7lgStops, i64 0, i64 %29
|
||||
%31 = load float, float addrspace(2)* %30, align 4, !tbaa !34
|
||||
%32 = fsub fast float %16, %31
|
||||
%33 = add nuw nsw i32 %28, 1
|
||||
%34 = zext i32 %33 to i64
|
||||
%35 = getelementptr inbounds [7 x float], [7 x float] addrspace(2)* @_ZL7lgStops, i64 0, i64 %34
|
||||
%36 = load float, float addrspace(2)* %35, align 4, !tbaa !34
|
||||
%37 = fsub fast float %36, %31
|
||||
%38 = fdiv fast float %32, %37
|
||||
%39 = tail call fast fastcc <3 x float> @_ZL10toneAtStopDv3_fii(<3 x float> %0, i32 1, i32 %28) #9
|
||||
%40 = tail call fast fastcc <3 x float> @_ZL10toneAtStopDv3_fii(<3 x float> %0, i32 1, i32 %33) #9
|
||||
%41 = insertelement <3 x float> undef, float %38, i64 0
|
||||
%42 = shufflevector <3 x float> %41, <3 x float> undef, <3 x i32> zeroinitializer
|
||||
%43 = tail call fast <3 x float> @air.mix.v3f32(<3 x float> %39, <3 x float> %40, <3 x float> %42) #1
|
||||
br label %44
|
||||
|
||||
44: ; preds = %26, %6
|
||||
%45 = phi <3 x float> [ %43, %26 ], [ %0, %6 ]
|
||||
%46 = getelementptr inbounds %struct.DYUniforms, %struct.DYUniforms addrspace(2)* %1, i64 0, i32 19
|
||||
%47 = load float, float addrspace(2)* %46, align 8, !tbaa !44
|
||||
%48 = fcmp fast ogt float %47, 5.000000e-01
|
||||
%49 = getelementptr inbounds %struct.DYUniforms, %struct.DYUniforms addrspace(2)* %1, i64 0, i32 2
|
||||
%50 = load float, float addrspace(2)* %49, align 8
|
||||
%51 = select fast i1 %48, float %50, float 0.000000e+00
|
||||
%52 = tail call fast float @air.fast_fabs.f32(float %51) #1
|
||||
%53 = fcmp fast olt float %52, 0x3E7AD7F2A0000000
|
||||
br i1 %53, label %83, label %54
|
||||
|
||||
54: ; preds = %44
|
||||
%55 = tail call fast float @air.fast_clamp.f32(float %51, float -1.000000e+02, float 1.000000e+02) #1
|
||||
br label %56
|
||||
|
||||
56: ; preds = %59, %54
|
||||
%57 = phi i32 [ 0, %54 ], [ %60, %59 ]
|
||||
%58 = icmp eq i32 %57, 5
|
||||
br i1 %58, label %65, label %59
|
||||
|
||||
59: ; preds = %56
|
||||
%60 = add nuw nsw i32 %57, 1
|
||||
%61 = zext i32 %60 to i64
|
||||
%62 = getelementptr inbounds [7 x float], [7 x float] addrspace(2)* @_ZL7lgStops, i64 0, i64 %61
|
||||
%63 = load float, float addrspace(2)* %62, align 4, !tbaa !34
|
||||
%64 = fcmp fast ogt float %63, %55
|
||||
br i1 %64, label %65, label %56, !llvm.loop !43
|
||||
|
||||
65: ; preds = %59, %56
|
||||
%66 = icmp ult i32 %57, 5
|
||||
%67 = select i1 %66, i32 %57, i32 5
|
||||
%68 = zext i32 %67 to i64
|
||||
%69 = getelementptr inbounds [7 x float], [7 x float] addrspace(2)* @_ZL7lgStops, i64 0, i64 %68
|
||||
%70 = load float, float addrspace(2)* %69, align 4, !tbaa !34
|
||||
%71 = fsub fast float %55, %70
|
||||
%72 = add nuw nsw i32 %67, 1
|
||||
%73 = zext i32 %72 to i64
|
||||
%74 = getelementptr inbounds [7 x float], [7 x float] addrspace(2)* @_ZL7lgStops, i64 0, i64 %73
|
||||
%75 = load float, float addrspace(2)* %74, align 4, !tbaa !34
|
||||
%76 = fsub fast float %75, %70
|
||||
%77 = fdiv fast float %71, %76
|
||||
%78 = tail call fast fastcc <3 x float> @_ZL10toneAtStopDv3_fii(<3 x float> %45, i32 2, i32 %67) #9
|
||||
%79 = tail call fast fastcc <3 x float> @_ZL10toneAtStopDv3_fii(<3 x float> %45, i32 2, i32 %72) #9
|
||||
%80 = insertelement <3 x float> undef, float %77, i64 0
|
||||
%81 = shufflevector <3 x float> %80, <3 x float> undef, <3 x i32> zeroinitializer
|
||||
%82 = tail call fast <3 x float> @air.mix.v3f32(<3 x float> %78, <3 x float> %79, <3 x float> %81) #1
|
||||
br label %83
|
||||
|
||||
83: ; preds = %65, %44
|
||||
%84 = phi <3 x float> [ %82, %65 ], [ %45, %44 ]
|
||||
%85 = getelementptr inbounds %struct.DYUniforms, %struct.DYUniforms addrspace(2)* %1, i64 0, i32 20
|
||||
%86 = load float, float addrspace(2)* %85, align 4, !tbaa !45
|
||||
%87 = fcmp fast ogt float %86, 5.000000e-01
|
||||
%88 = getelementptr inbounds %struct.DYUniforms, %struct.DYUniforms addrspace(2)* %1, i64 0, i32 3
|
||||
%89 = load float, float addrspace(2)* %88, align 4
|
||||
%90 = select fast i1 %87, float %89, float 0.000000e+00
|
||||
%91 = tail call fast float @air.fast_fabs.f32(float %90) #1
|
||||
%92 = fcmp fast olt float %91, 0x3E7AD7F2A0000000
|
||||
br i1 %92, label %122, label %93
|
||||
|
||||
93: ; preds = %83
|
||||
%94 = tail call fast float @air.fast_clamp.f32(float %90, float -1.000000e+02, float 1.000000e+02) #1
|
||||
br label %95
|
||||
|
||||
95: ; preds = %98, %93
|
||||
%96 = phi i32 [ 0, %93 ], [ %99, %98 ]
|
||||
%97 = icmp eq i32 %96, 5
|
||||
br i1 %97, label %104, label %98
|
||||
|
||||
98: ; preds = %95
|
||||
%99 = add nuw nsw i32 %96, 1
|
||||
%100 = zext i32 %99 to i64
|
||||
%101 = getelementptr inbounds [7 x float], [7 x float] addrspace(2)* @_ZL7lgStops, i64 0, i64 %100
|
||||
%102 = load float, float addrspace(2)* %101, align 4, !tbaa !34
|
||||
%103 = fcmp fast ogt float %102, %94
|
||||
br i1 %103, label %104, label %95, !llvm.loop !43
|
||||
|
||||
104: ; preds = %98, %95
|
||||
%105 = icmp ult i32 %96, 5
|
||||
%106 = select i1 %105, i32 %96, i32 5
|
||||
%107 = zext i32 %106 to i64
|
||||
%108 = getelementptr inbounds [7 x float], [7 x float] addrspace(2)* @_ZL7lgStops, i64 0, i64 %107
|
||||
%109 = load float, float addrspace(2)* %108, align 4, !tbaa !34
|
||||
%110 = fsub fast float %94, %109
|
||||
%111 = add nuw nsw i32 %106, 1
|
||||
%112 = zext i32 %111 to i64
|
||||
%113 = getelementptr inbounds [7 x float], [7 x float] addrspace(2)* @_ZL7lgStops, i64 0, i64 %112
|
||||
%114 = load float, float addrspace(2)* %113, align 4, !tbaa !34
|
||||
%115 = fsub fast float %114, %109
|
||||
%116 = fdiv fast float %110, %115
|
||||
%117 = tail call fast fastcc <3 x float> @_ZL10toneAtStopDv3_fii(<3 x float> %84, i32 3, i32 %106) #9
|
||||
%118 = tail call fast fastcc <3 x float> @_ZL10toneAtStopDv3_fii(<3 x float> %84, i32 3, i32 %111) #9
|
||||
%119 = insertelement <3 x float> undef, float %116, i64 0
|
||||
%120 = shufflevector <3 x float> %119, <3 x float> undef, <3 x i32> zeroinitializer
|
||||
%121 = tail call fast <3 x float> @air.mix.v3f32(<3 x float> %117, <3 x float> %118, <3 x float> %120) #1
|
||||
br label %122
|
||||
|
||||
122: ; preds = %104, %83, %2
|
||||
%123 = phi <3 x float> [ %0, %2 ], [ %121, %104 ], [ %84, %83 ]
|
||||
ret <3 x float> %123
|
||||
}
|
||||
|
||||
; Function Attrs: nounwind readnone
|
||||
declare <3 x float> @air.mix.v3f32(<3 x float>, <3 x float>, <3 x float>) local_unnamed_addr #1
|
||||
|
||||
; Function Attrs: inlinehint nounwind readnone
|
||||
define internal fastcc <3 x float> @_ZL10toneAtStopDv3_fii(<3 x float> %0, i32 %1, i32 %2) unnamed_addr #3 {
|
||||
%4 = icmp eq i32 %2, 3
|
||||
br i1 %4, label %91, label %5
|
||||
|
||||
5: ; preds = %3
|
||||
%6 = zext i32 %1 to i64
|
||||
%7 = sext i32 %2 to i64
|
||||
%8 = getelementptr inbounds [6 x [7 x float]], [6 x [7 x float]] addrspace(2)* @_ZL11lgToneModes, i64 0, i64 %6, i64 %7
|
||||
%9 = load float, float addrspace(2)* %8, align 4, !tbaa !34
|
||||
%10 = fcmp fast ogt float %9, 5.000000e-01
|
||||
br i1 %10, label %11, label %60
|
||||
|
||||
11: ; preds = %5
|
||||
%12 = extractelement <3 x float> %0, i64 0
|
||||
%13 = tail call fast float @air.fast_clamp.f32(float %12, float 0.000000e+00, float 1.000000e+00) #1
|
||||
%14 = fmul fast float %13, 3.200000e+01
|
||||
%15 = tail call i32 @air.convert.s.i32.f.f32(float %14) #1
|
||||
%16 = tail call i32 @air.min.s.i32(i32 %15, i32 31) #1
|
||||
%17 = sext i32 %16 to i64
|
||||
%18 = getelementptr inbounds [6 x [7 x [33 x float]]], [6 x [7 x [33 x float]]] addrspace(2)* @_ZL12lgToneCurves, i64 0, i64 %6, i64 %7, i64 %17
|
||||
%19 = load float, float addrspace(2)* %18, align 4, !tbaa !34
|
||||
%20 = add nsw i32 %16, 1
|
||||
%21 = sext i32 %20 to i64
|
||||
%22 = getelementptr inbounds [6 x [7 x [33 x float]]], [6 x [7 x [33 x float]]] addrspace(2)* @_ZL12lgToneCurves, i64 0, i64 %6, i64 %7, i64 %21
|
||||
%23 = load float, float addrspace(2)* %22, align 4, !tbaa !34
|
||||
%24 = tail call fast float @air.convert.f.f32.s.i32(i32 %16) #1
|
||||
%25 = fsub fast float %14, %24
|
||||
%26 = tail call fast float @air.mix.f32(float %19, float %23, float %25) #1
|
||||
%27 = insertelement <3 x float> undef, float %26, i64 0
|
||||
%28 = extractelement <3 x float> %0, i64 1
|
||||
%29 = tail call fast float @air.fast_clamp.f32(float %28, float 0.000000e+00, float 1.000000e+00) #1
|
||||
%30 = fmul fast float %29, 3.200000e+01
|
||||
%31 = tail call i32 @air.convert.s.i32.f.f32(float %30) #1
|
||||
%32 = tail call i32 @air.min.s.i32(i32 %31, i32 31) #1
|
||||
%33 = sext i32 %32 to i64
|
||||
%34 = getelementptr inbounds [6 x [7 x [33 x float]]], [6 x [7 x [33 x float]]] addrspace(2)* @_ZL12lgToneCurves, i64 0, i64 %6, i64 %7, i64 %33
|
||||
%35 = load float, float addrspace(2)* %34, align 4, !tbaa !34
|
||||
%36 = add nsw i32 %32, 1
|
||||
%37 = sext i32 %36 to i64
|
||||
%38 = getelementptr inbounds [6 x [7 x [33 x float]]], [6 x [7 x [33 x float]]] addrspace(2)* @_ZL12lgToneCurves, i64 0, i64 %6, i64 %7, i64 %37
|
||||
%39 = load float, float addrspace(2)* %38, align 4, !tbaa !34
|
||||
%40 = tail call fast float @air.convert.f.f32.s.i32(i32 %32) #1
|
||||
%41 = fsub fast float %30, %40
|
||||
%42 = tail call fast float @air.mix.f32(float %35, float %39, float %41) #1
|
||||
%43 = insertelement <3 x float> %27, float %42, i64 1
|
||||
%44 = extractelement <3 x float> %0, i64 2
|
||||
%45 = tail call fast float @air.fast_clamp.f32(float %44, float 0.000000e+00, float 1.000000e+00) #1
|
||||
%46 = fmul fast float %45, 3.200000e+01
|
||||
%47 = tail call i32 @air.convert.s.i32.f.f32(float %46) #1
|
||||
%48 = tail call i32 @air.min.s.i32(i32 %47, i32 31) #1
|
||||
%49 = sext i32 %48 to i64
|
||||
%50 = getelementptr inbounds [6 x [7 x [33 x float]]], [6 x [7 x [33 x float]]] addrspace(2)* @_ZL12lgToneCurves, i64 0, i64 %6, i64 %7, i64 %49
|
||||
%51 = load float, float addrspace(2)* %50, align 4, !tbaa !34
|
||||
%52 = add nsw i32 %48, 1
|
||||
%53 = sext i32 %52 to i64
|
||||
%54 = getelementptr inbounds [6 x [7 x [33 x float]]], [6 x [7 x [33 x float]]] addrspace(2)* @_ZL12lgToneCurves, i64 0, i64 %6, i64 %7, i64 %53
|
||||
%55 = load float, float addrspace(2)* %54, align 4, !tbaa !34
|
||||
%56 = tail call fast float @air.convert.f.f32.s.i32(i32 %48) #1
|
||||
%57 = fsub fast float %46, %56
|
||||
%58 = tail call fast float @air.mix.f32(float %51, float %55, float %57) #1
|
||||
%59 = insertelement <3 x float> %43, float %58, i64 2
|
||||
br label %91
|
||||
|
||||
60: ; preds = %5
|
||||
%61 = tail call fast float @air.dot.v3f32(<3 x float> %0, <3 x float> <float 0x3FCB367A00000000, float 0x3FE6E2EB20000000, float 0x3FB27BB300000000>) #1
|
||||
%62 = tail call fast float @air.fast_clamp.f32(float %61, float 0.000000e+00, float 1.000000e+00) #1
|
||||
%63 = fmul fast float %62, 3.200000e+01
|
||||
%64 = tail call i32 @air.convert.s.i32.f.f32(float %63) #1
|
||||
%65 = tail call i32 @air.min.s.i32(i32 %64, i32 31) #1
|
||||
%66 = sext i32 %65 to i64
|
||||
%67 = getelementptr inbounds [6 x [7 x [33 x float]]], [6 x [7 x [33 x float]]] addrspace(2)* @_ZL12lgToneCurves, i64 0, i64 %6, i64 %7, i64 %66
|
||||
%68 = load float, float addrspace(2)* %67, align 4, !tbaa !34
|
||||
%69 = add nsw i32 %65, 1
|
||||
%70 = sext i32 %69 to i64
|
||||
%71 = getelementptr inbounds [6 x [7 x [33 x float]]], [6 x [7 x [33 x float]]] addrspace(2)* @_ZL12lgToneCurves, i64 0, i64 %6, i64 %7, i64 %70
|
||||
%72 = load float, float addrspace(2)* %71, align 4, !tbaa !34
|
||||
%73 = tail call fast float @air.convert.f.f32.s.i32(i32 %65) #1
|
||||
%74 = fsub fast float %63, %73
|
||||
%75 = tail call fast float @air.mix.f32(float %68, float %72, float %74) #1
|
||||
%76 = getelementptr inbounds [6 x [7 x [33 x float]]], [6 x [7 x [33 x float]]] addrspace(2)* @_ZL14lgChromaScales, i64 0, i64 %6, i64 %7, i64 %66
|
||||
%77 = load float, float addrspace(2)* %76, align 4, !tbaa !34
|
||||
%78 = getelementptr inbounds [6 x [7 x [33 x float]]], [6 x [7 x [33 x float]]] addrspace(2)* @_ZL14lgChromaScales, i64 0, i64 %6, i64 %7, i64 %70
|
||||
%79 = load float, float addrspace(2)* %78, align 4, !tbaa !34
|
||||
%80 = tail call fast float @air.mix.f32(float %77, float %79, float %74) #1
|
||||
%81 = insertelement <3 x float> undef, float %75, i64 0
|
||||
%82 = shufflevector <3 x float> %81, <3 x float> undef, <3 x i32> zeroinitializer
|
||||
%83 = insertelement <3 x float> undef, float %61, i64 0
|
||||
%84 = shufflevector <3 x float> %83, <3 x float> undef, <3 x i32> zeroinitializer
|
||||
%85 = fsub fast <3 x float> %0, %84
|
||||
%86 = insertelement <3 x float> undef, float %80, i64 0
|
||||
%87 = shufflevector <3 x float> %86, <3 x float> undef, <3 x i32> zeroinitializer
|
||||
%88 = fmul fast <3 x float> %87, %85
|
||||
%89 = fadd fast <3 x float> %88, %82
|
||||
%90 = tail call fast <3 x float> @air.fast_clamp.v3f32(<3 x float> %89, <3 x float> zeroinitializer, <3 x float> <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>) #1
|
||||
br label %91
|
||||
|
||||
91: ; preds = %60, %11, %3
|
||||
%92 = phi <3 x float> [ %0, %3 ], [ %59, %11 ], [ %90, %60 ]
|
||||
ret <3 x float> %92
|
||||
}
|
||||
|
||||
; Function Attrs: nounwind readnone
|
||||
declare <3 x float> @air.fast_clamp.v3f32(<3 x float>, <3 x float>, <3 x float>) local_unnamed_addr #1
|
||||
|
||||
; Function Attrs: nounwind readnone
|
||||
declare float @air.mix.f32(float, float, float) local_unnamed_addr #1
|
||||
|
||||
; Function Attrs: nounwind readnone
|
||||
declare float @air.convert.f.f32.s.i32(i32) local_unnamed_addr #1
|
||||
|
||||
; Function Attrs: nounwind readnone
|
||||
declare i32 @air.min.s.i32(i32, i32) local_unnamed_addr #1
|
||||
|
||||
; Function Attrs: nounwind readnone
|
||||
declare i32 @air.convert.s.i32.f.f32(float) local_unnamed_addr #1
|
||||
|
||||
; Function Attrs: nounwind readnone
|
||||
declare float @air.fast_fabs.f32(float) local_unnamed_addr #1
|
||||
|
||||
; Function Attrs: argmemonly convergent nounwind readonly
|
||||
declare { <4 x float>, i8 } @air.sample_texture_3d.v4f32(%struct._texture_3d_t addrspace(1)* nocapture readonly, %struct._sampler_t addrspace(2)* nocapture readonly, <3 x float>, i1, <3 x i32>, i1, float, float, i32) local_unnamed_addr #4
|
||||
|
||||
; Function Attrs: argmemonly nounwind readonly
|
||||
declare i32 @air.get_width_texture_3d(%struct._texture_3d_t addrspace(1)* nocapture readonly, i32) local_unnamed_addr #5
|
||||
|
||||
; Function Attrs: inlinehint nounwind readnone
|
||||
define internal fastcc <3 x float> @_ZL13applyExposureDv3_fRU11MTLconstantK17DYUniforms(<3 x float> %0, %struct.DYUniforms addrspace(2)* nocapture readonly dereferenceable(944) %1) unnamed_addr #6 {
|
||||
%3 = getelementptr inbounds %struct.DYUniforms, %struct.DYUniforms addrspace(2)* %1, i64 0, i32 31
|
||||
%4 = load float, float addrspace(2)* %3, align 8, !tbaa !40
|
||||
%5 = fcmp fast ugt float %4, 5.000000e-01
|
||||
br i1 %5, label %6, label %73
|
||||
|
||||
6: ; preds = %2
|
||||
%7 = getelementptr inbounds %struct.DYUniforms, %struct.DYUniforms addrspace(2)* %1, i64 0, i32 17
|
||||
%8 = load float, float addrspace(2)* %7, align 16, !tbaa !46
|
||||
%9 = fcmp fast ogt float %8, 5.000000e-01
|
||||
br i1 %9, label %10, label %14
|
||||
|
||||
10: ; preds = %6
|
||||
%11 = getelementptr inbounds %struct.DYUniforms, %struct.DYUniforms addrspace(2)* %1, i64 0, i32 0
|
||||
%12 = load float, float addrspace(2)* %11, align 16, !tbaa !47
|
||||
%13 = tail call fast float @air.fast_clamp.f32(float %12, float -5.000000e+00, float 5.000000e+00) #1
|
||||
br label %14
|
||||
|
||||
14: ; preds = %10, %6
|
||||
%15 = phi float [ %13, %10 ], [ 0.000000e+00, %6 ]
|
||||
%16 = fmul fast float %15, 5.000000e+01
|
||||
%17 = tail call fast float @air.fast_fabs.f32(float %16) #1
|
||||
%18 = fcmp fast olt float %17, 0x3E7AD7F2A0000000
|
||||
br i1 %18, label %48, label %19
|
||||
|
||||
19: ; preds = %14
|
||||
%20 = tail call fast float @air.fast_clamp.f32(float %16, float -1.000000e+02, float 1.000000e+02) #1
|
||||
br label %21
|
||||
|
||||
21: ; preds = %24, %19
|
||||
%22 = phi i32 [ 0, %19 ], [ %25, %24 ]
|
||||
%23 = icmp eq i32 %22, 5
|
||||
br i1 %23, label %30, label %24
|
||||
|
||||
24: ; preds = %21
|
||||
%25 = add nuw nsw i32 %22, 1
|
||||
%26 = zext i32 %25 to i64
|
||||
%27 = getelementptr inbounds [7 x float], [7 x float] addrspace(2)* @_ZL7lgStops, i64 0, i64 %26
|
||||
%28 = load float, float addrspace(2)* %27, align 4, !tbaa !34
|
||||
%29 = fcmp fast ogt float %28, %20
|
||||
br i1 %29, label %30, label %21, !llvm.loop !43
|
||||
|
||||
30: ; preds = %24, %21
|
||||
%31 = icmp ult i32 %22, 5
|
||||
%32 = select i1 %31, i32 %22, i32 5
|
||||
%33 = zext i32 %32 to i64
|
||||
%34 = getelementptr inbounds [7 x float], [7 x float] addrspace(2)* @_ZL7lgStops, i64 0, i64 %33
|
||||
%35 = load float, float addrspace(2)* %34, align 4, !tbaa !34
|
||||
%36 = fsub fast float %20, %35
|
||||
%37 = add nuw nsw i32 %32, 1
|
||||
%38 = zext i32 %37 to i64
|
||||
%39 = getelementptr inbounds [7 x float], [7 x float] addrspace(2)* @_ZL7lgStops, i64 0, i64 %38
|
||||
%40 = load float, float addrspace(2)* %39, align 4, !tbaa !34
|
||||
%41 = fsub fast float %40, %35
|
||||
%42 = fdiv fast float %36, %41
|
||||
%43 = tail call fast fastcc <3 x float> @_ZL10toneAtStopDv3_fii(<3 x float> %0, i32 0, i32 %32) #9
|
||||
%44 = tail call fast fastcc <3 x float> @_ZL10toneAtStopDv3_fii(<3 x float> %0, i32 0, i32 %37) #9
|
||||
%45 = insertelement <3 x float> undef, float %42, i64 0
|
||||
%46 = shufflevector <3 x float> %45, <3 x float> undef, <3 x i32> zeroinitializer
|
||||
%47 = tail call fast <3 x float> @air.mix.v3f32(<3 x float> %43, <3 x float> %44, <3 x float> %46) #1
|
||||
br label %48
|
||||
|
||||
48: ; preds = %30, %14
|
||||
%49 = phi <3 x float> [ %47, %30 ], [ %0, %14 ]
|
||||
%50 = tail call fast float @air.fast_fabs.f32(float %15) #1
|
||||
%51 = fcmp fast ogt float %50, 2.000000e+00
|
||||
br i1 %51, label %52, label %73
|
||||
|
||||
52: ; preds = %48
|
||||
%53 = fadd fast <3 x float> %49, <float 0x3FAC28F5C0000000, float 0x3FAC28F5C0000000, float 0x3FAC28F5C0000000>
|
||||
%54 = fmul fast <3 x float> %53, <float 0x3FEE54EDE0000000, float 0x3FEE54EDE0000000, float 0x3FEE54EDE0000000>
|
||||
%55 = tail call fast <3 x float> @air.fast_fmax.v3f32(<3 x float> %54, <3 x float> zeroinitializer) #1
|
||||
%56 = tail call fast <3 x float> @air.fast_pow.v3f32(<3 x float> %55, <3 x float> <float 0x4003333340000000, float 0x4003333340000000, float 0x4003333340000000>) #1
|
||||
%57 = fmul fast <3 x float> %49, <float 0x3FB3D07220000000, float 0x3FB3D07220000000, float 0x3FB3D07220000000>
|
||||
%58 = fcmp fast ole <3 x float> %49, <float 0x3FA4B5DCC0000000, float 0x3FA4B5DCC0000000, float 0x3FA4B5DCC0000000>
|
||||
%59 = select reassoc nsz arcp contract afn <3 x i1> %58, <3 x float> %57, <3 x float> %56
|
||||
%60 = tail call fast float @air.fast_clamp.f32(float %15, float -2.000000e+00, float 2.000000e+00) #1
|
||||
%61 = fsub fast float %15, %60
|
||||
%62 = tail call fast float @air.fast_exp2.f32(float %61) #1
|
||||
%63 = insertelement <3 x float> undef, float %62, i64 0
|
||||
%64 = shufflevector <3 x float> %63, <3 x float> undef, <3 x i32> zeroinitializer
|
||||
%65 = fmul fast <3 x float> %64, %59
|
||||
%66 = tail call fast <3 x float> @air.fast_fmax.v3f32(<3 x float> %65, <3 x float> zeroinitializer) #1
|
||||
%67 = tail call fast <3 x float> @air.fast_pow.v3f32(<3 x float> %66, <3 x float> <float 0x3FDAAAAAA0000000, float 0x3FDAAAAAA0000000, float 0x3FDAAAAAA0000000>) #1
|
||||
%68 = fmul fast <3 x float> %67, <float 0x3FF0E147A0000000, float 0x3FF0E147A0000000, float 0x3FF0E147A0000000>
|
||||
%69 = fadd fast <3 x float> %68, <float 0xBFAC28F5C0000000, float 0xBFAC28F5C0000000, float 0xBFAC28F5C0000000>
|
||||
%70 = fmul fast <3 x float> %65, <float 0x4029D70A40000000, float 0x4029D70A40000000, float 0x4029D70A40000000>
|
||||
%71 = fcmp fast ole <3 x float> %65, <float 0x3F69A5C380000000, float 0x3F69A5C380000000, float 0x3F69A5C380000000>
|
||||
%72 = select reassoc nsz arcp contract afn <3 x i1> %71, <3 x float> %70, <3 x float> %69
|
||||
br label %73
|
||||
|
||||
73: ; preds = %52, %48, %2
|
||||
%74 = phi <3 x float> [ %0, %2 ], [ %72, %52 ], [ %49, %48 ]
|
||||
ret <3 x float> %74
|
||||
}
|
||||
|
||||
; Function Attrs: nounwind readnone
|
||||
declare <3 x float> @air.fast_pow.v3f32(<3 x float>, <3 x float>) local_unnamed_addr #1
|
||||
|
||||
; Function Attrs: nounwind readnone
|
||||
declare <3 x float> @air.fast_fmax.v3f32(<3 x float>, <3 x float>) local_unnamed_addr #1
|
||||
|
||||
; Function Attrs: nounwind readnone
|
||||
declare float @air.fast_exp2.f32(float) local_unnamed_addr #1
|
||||
|
||||
; Function Attrs: nounwind readnone
|
||||
declare <3 x float> @air.convert.f.v3f32.f.v3f16(<3 x half>) local_unnamed_addr #1
|
||||
|
||||
; Function Attrs: argmemonly convergent nounwind readonly
|
||||
declare { <4 x half>, i8 } @air.sample_texture_2d.v4f16(%struct._texture_2d_t addrspace(1)* nocapture readonly, %struct._sampler_t addrspace(2)* nocapture readonly, <2 x float>, i1, <2 x i32>, i1, float, float, i32) local_unnamed_addr #4
|
||||
|
||||
; Function Attrs: convergent nounwind
|
||||
declare void @air.wg.barrier(i32, i32) local_unnamed_addr #7
|
||||
|
||||
; Function Attrs: nounwind
|
||||
declare void @air.atomic.local.store.i32(i32 addrspace(3)* nocapture, i32, i32, i32, i1) local_unnamed_addr #2
|
||||
|
||||
attributes #0 = { convergent nounwind "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="128" "no-builtins" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "unsafe-fp-math"="true" }
|
||||
attributes #1 = { nounwind readnone }
|
||||
attributes #2 = { nounwind }
|
||||
attributes #3 = { inlinehint nounwind readnone "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="96" "no-builtins" "no-infs-fp-math"="true" "no-nans-fp-math"="true" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "unsafe-fp-math"="true" }
|
||||
attributes #4 = { argmemonly convergent nounwind readonly }
|
||||
attributes #5 = { argmemonly nounwind readonly }
|
||||
attributes #6 = { inlinehint nounwind readnone "approx-func-fp-math"="true" "frame-pointer"="all" "min-legal-vector-width"="96" "no-builtins" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "no-signed-zeros-fp-math"="true" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "unsafe-fp-math"="true" }
|
||||
attributes #7 = { convergent nounwind }
|
||||
attributes #8 = { nobuiltin "no-builtins" }
|
||||
attributes #9 = { nobuiltin nounwind "no-builtins" }
|
||||
|
||||
!llvm.module.flags = !{!0, !1, !2, !3, !4, !5, !6, !7}
|
||||
!llvm.ident = !{!8}
|
||||
!air.version = !{!9}
|
||||
!air.language_version = !{!10}
|
||||
!air.compile_options = !{!11, !12, !13}
|
||||
!air.kernel = !{!14}
|
||||
!air.sampler_states = !{!23}
|
||||
|
||||
!0 = !{i32 2, !"SDK Version", [2 x i32] [i32 15, i32 5]}
|
||||
!1 = !{i32 1, !"wchar_size", i32 4}
|
||||
!2 = !{i32 7, !"air.max_device_buffers", i32 31}
|
||||
!3 = !{i32 7, !"air.max_constant_buffers", i32 31}
|
||||
!4 = !{i32 7, !"air.max_threadgroup_buffers", i32 31}
|
||||
!5 = !{i32 7, !"air.max_textures", i32 128}
|
||||
!6 = !{i32 7, !"air.max_read_write_textures", i32 8}
|
||||
!7 = !{i32 7, !"air.max_samplers", i32 16}
|
||||
!8 = !{!"Apple metal version 32023.620 (metalfe-32023.620)"}
|
||||
!9 = !{i32 2, i32 6, i32 0}
|
||||
!10 = !{!"Metal", i32 3, i32 0, i32 0}
|
||||
!11 = !{!"air.compile.denorms_disable"}
|
||||
!12 = !{!"air.compile.fast_math_enable"}
|
||||
!13 = !{!"air.compile.framebuffer_fetch_enable"}
|
||||
!14 = !{void (%struct._texture_2d_t addrspace(1)*, %struct._texture_3d_t addrspace(1)*, %struct.DYUniforms addrspace(2)*, float addrspace(1)*, i32)* @dyWhitesSceneStatistics, !15, !16}
|
||||
!15 = !{}
|
||||
!16 = !{!17, !18, !19, !21, !22}
|
||||
!17 = !{i32 0, !"air.texture", !"air.location_index", i32 0, i32 1, !"air.sample", !"air.arg_type_name", !"texture2d<half, sample>", !"air.arg_name", !"source"}
|
||||
!18 = !{i32 1, !"air.texture", !"air.location_index", i32 1, i32 1, !"air.sample", !"air.arg_type_name", !"texture3d<float, sample>", !"air.arg_name", !"whiteBalanceTexture"}
|
||||
!19 = !{i32 2, !"air.buffer", !"air.buffer_size", i32 944, !"air.location_index", i32 0, i32 1, !"air.read", !"air.address_space", i32 2, !"air.struct_type_info", !20, !"air.arg_type_size", i32 944, !"air.arg_type_align_size", i32 16, !"air.arg_type_name", !"DYUniforms", !"air.arg_name", !"uniforms"}
|
||||
!20 = !{i32 0, i32 4, i32 0, !"float", !"exposure", i32 4, i32 4, i32 0, !"float", !"contrast", i32 8, i32 4, i32 0, !"float", !"highlights", i32 12, i32 4, i32 0, !"float", !"shadows", i32 16, i32 4, i32 0, !"float", !"whites", i32 20, i32 4, i32 0, !"float", !"blacks", i32 24, i32 4, i32 0, !"float", !"temperature", i32 28, i32 4, i32 0, !"float", !"tint", i32 32, i32 4, i32 0, !"float", !"saturation", i32 36, i32 4, i32 0, !"float", !"vibrance", i32 40, i32 4, i32 0, !"float", !"texture", i32 44, i32 4, i32 0, !"float", !"clarity", i32 48, i32 4, i32 0, !"float", !"dehaze", i32 52, i32 4, i32 0, !"float", !"inputProfile", i32 56, i32 4, i32 0, !"float", !"preLUTStrength", i32 60, i32 4, i32 0, !"float", !"postLUTStrength", i32 64, i32 16, i32 0, !"float4", !"extraPostLUTStrengths", i32 80, i32 4, i32 0, !"float", !"exposureEnabled", i32 84, i32 4, i32 0, !"float", !"contrastEnabled", i32 88, i32 4, i32 0, !"float", !"highlightsEnabled", i32 92, i32 4, i32 0, !"float", !"shadowsEnabled", i32 96, i32 4, i32 0, !"float", !"whitesEnabled", i32 100, i32 4, i32 0, !"float", !"blacksEnabled", i32 104, i32 4, i32 0, !"float", !"temperatureEnabled", i32 108, i32 4, i32 0, !"float", !"tintEnabled", i32 112, i32 4, i32 0, !"float", !"saturationEnabled", i32 116, i32 4, i32 0, !"float", !"vibranceEnabled", i32 120, i32 4, i32 0, !"float", !"textureEnabled", i32 124, i32 4, i32 0, !"float", !"clarityEnabled", i32 128, i32 4, i32 0, !"float", !"dehazeEnabled", i32 132, i32 4, i32 0, !"float", !"inputSectionEnabled", i32 136, i32 4, i32 0, !"float", !"baseSectionEnabled", i32 140, i32 4, i32 0, !"float", !"colorSectionEnabled", i32 144, i32 4, i32 0, !"float", !"lookSectionEnabled", i32 160, i32 16, i32 0, !"float4", !"extraLookSectionEnableds", i32 176, i32 4, i32 0, !"float", !"curveSectionEnabled", i32 180, i32 4, i32 0, !"float", !"hslSectionEnabled", i32 184, i32 4, i32 0, !"float", !"curveShadows", i32 188, i32 4, i32 0, !"float", !"curveDarks", i32 192, i32 4, i32 0, !"float", !"curveLights", i32 196, i32 4, i32 0, !"float", !"curveHighlights", i32 200, i32 4, i32 0, !"float", !"redCurveShadows", i32 204, i32 4, i32 0, !"float", !"redCurveHighlights", i32 208, i32 4, i32 0, !"float", !"greenCurveShadows", i32 212, i32 4, i32 0, !"float", !"greenCurveHighlights", i32 216, i32 4, i32 0, !"float", !"blueCurveShadows", i32 220, i32 4, i32 0, !"float", !"blueCurveHighlights", i32 224, i32 16, i32 0, !"float4", !"curveX", i32 240, i32 8, i32 0, !"float2", !"redCurveX", i32 248, i32 8, i32 0, !"float2", !"greenCurveX", i32 256, i32 8, i32 0, !"float2", !"blueCurveX", i32 272, i32 16, i32 0, !"float4", !"hslHueA", i32 288, i32 16, i32 0, !"float4", !"hslHueB", i32 304, i32 16, i32 0, !"float4", !"hslSatA", i32 320, i32 16, i32 0, !"float4", !"hslSatB", i32 336, i32 16, i32 0, !"float4", !"hslLumA", i32 352, i32 16, i32 0, !"float4", !"hslLumB", i32 368, i32 16, i32 0, !"float3", !"hslCustomSample", i32 384, i32 16, i32 0, !"float3", !"hslCustomAdjust", i32 400, i32 4, i32 0, !"float", !"colorGradingSectionEnabled", i32 404, i32 4, i32 0, !"float", !"colorGradingBlending", i32 408, i32 4, i32 0, !"float", !"colorGradingBalance", i32 416, i32 16, i32 0, !"float4", !"colorGradingHueSatA", i32 432, i32 16, i32 0, !"float4", !"colorGradingHueSatB", i32 448, i32 16, i32 0, !"float3", !"colorGradingLuma", i32 464, i32 16, i32 0, !"float3", !"skinProtection", i32 480, i32 4, i32 0, !"float", !"primariesSectionEnabled", i32 484, i32 4, i32 0, !"float", !"redPrimaryHue", i32 488, i32 4, i32 0, !"float", !"redPrimarySaturation", i32 492, i32 4, i32 0, !"float", !"greenPrimaryHue", i32 496, i32 4, i32 0, !"float", !"greenPrimarySaturation", i32 500, i32 4, i32 0, !"float", !"bluePrimaryHue", i32 504, i32 4, i32 0, !"float", !"bluePrimarySaturation", i32 512, i32 16, i32 0, !"float3", !"primariesM0", i32 528, i32 16, i32 0, !"float3", !"primariesM1", i32 544, i32 16, i32 0, !"float3", !"primariesM2", i32 560, i32 16, i32 0, !"float3", !"hslCustomRange", i32 576, i32 4, i32 0, !"float", !"hslCustomVisualize", i32 592, i32 16, i32 0, !"float3", !"colorGradingGlobal", i32 608, i32 4, i32 0, !"float", !"levelsSectionEnabled", i32 624, i32 16, i32 0, !"float4", !"levelsInputBlack", i32 640, i32 16, i32 0, !"float4", !"levelsGamma", i32 656, i32 16, i32 0, !"float4", !"levelsInputWhite", i32 672, i32 16, i32 0, !"float4", !"levelsOutputBlack", i32 688, i32 16, i32 0, !"float4", !"levelsOutputWhite", i32 704, i32 4, i32 0, !"float", !"blackWhiteSectionEnabled", i32 720, i32 16, i32 0, !"float4", !"blackWhiteMixA", i32 736, i32 8, i32 0, !"float2", !"blackWhiteMixB", i32 744, i32 8, i32 0, !"float2", !"blackWhiteTint", i32 752, i32 4, i32 0, !"float", !"colorBalanceSectionEnabled", i32 756, i32 4, i32 0, !"float", !"colorBalancePreserveLuminosity", i32 768, i32 16, i32 0, !"float3", !"colorBalanceShadows", i32 784, i32 16, i32 0, !"float3", !"colorBalanceMidtones", i32 800, i32 16, i32 0, !"float3", !"colorBalanceHighlights", i32 816, i32 Line truncated
|
||||
!21 = !{i32 3, !"air.buffer", !"air.location_index", i32 1, i32 1, !"air.read_write", !"air.address_space", i32 1, !"air.arg_type_size", i32 4, !"air.arg_type_align_size", i32 4, !"air.arg_type_name", !"float", !"air.arg_name", !"sceneLevel"}
|
||||
!22 = !{i32 4, !"air.thread_index_in_threadgroup", !"air.arg_type_name", !"uint", !"air.arg_name", !"tid"}
|
||||
!23 = !{!"air.sampler_state", i64 addrspace(2)* @__air_sampler_state}
|
||||
!24 = !{!25}
|
||||
!25 = distinct !{!25, !26, !"air-alias-scope-textures"}
|
||||
!26 = distinct !{!26, !"air-alias-scopes(dyWhitesSceneStatistics)"}
|
||||
!27 = !{!28, !29}
|
||||
!28 = distinct !{!28, !26, !"air-alias-scope-arg(2)"}
|
||||
!29 = distinct !{!29, !26, !"air-alias-scope-arg(3)"}
|
||||
!30 = distinct !{!30, !31}
|
||||
!31 = !{!"llvm.loop.mustprogress"}
|
||||
!32 = distinct !{!32, !31}
|
||||
!33 = distinct !{!33, !31}
|
||||
!34 = !{!35, !35, i64 0}
|
||||
!35 = !{!"float", !36, i64 0}
|
||||
!36 = !{!"omnipotent char", !37, i64 0}
|
||||
!37 = !{!"Simple C++ TBAA"}
|
||||
!38 = !{!29}
|
||||
!39 = !{!25, !28}
|
||||
!40 = !{!41, !35, i64 136}
|
||||
!41 = !{!"_ZTS17DYUniforms", !35, i64 0, !35, i64 4, !35, i64 8, !35, i64 12, !35, i64 16, !35, i64 20, !35, i64 24, !35, i64 28, !35, i64 32, !35, i64 36, !35, i64 40, !35, i64 44, !35, i64 48, !35, i64 52, !35, i64 56, !35, i64 60, !36, i64 64, !35, i64 80, !35, i64 84, !35, i64 88, !35, i64 92, !35, i64 96, !35, i64 100, !35, i64 104, !35, i64 108, !35, i64 112, !35, i64 116, !35, i64 120, !35, i64 124, !35, i64 128, !35, i64 132, !35, i64 136, !35, i64 140, !35, i64 144, !36, i64 160, !35, i64 176, !35, i64 180, !35, i64 184, !35, i64 188, !35, i64 192, !35, i64 196, !35, i64 200, !35, i64 204, !35, i64 208, !35, i64 212, !35, i64 216, !35, i64 220, !36, i64 224, !36, i64 240, !36, i64 248, !36, i64 256, !36, i64 272, !36, i64 288, !36, i64 304, !36, i64 320, !36, i64 336, !36, i64 352, !36, i64 368, !36, i64 384, !35, i64 400, !35, i64 404, !35, i64 408, !36, i64 416, !36, i64 432, !36, i64 448, !36, i64 464, !35, i64 480, !35, i64 484, !35, i64 488, !35, i64 492, !35, i64 496, !35, i64 500, !35, i64 504, !36, i64 512, !36, i64 528, !36, i64 544, !36, i64 560, !35, i64 576, !36, i64 592, !35, i64 608, !36, i64 624, !36, i64 640, !36, i64 656, !36, i64 672, !36, i64 688, !35, i64 704, !36, i64 720, !36, i64 736, !36, i64 744, !35, i64 752, !35, i64 756, !36, i64 768, !36, i64 784, !36, i64 800, !36, i64 816, !36, i64 832, !36, i64 848, !36, i64 864, !36, i64 880, !36, i64 896, !36, i64 912, !36, i64 928}
|
||||
!42 = !{!41, !35, i64 84}
|
||||
!43 = distinct !{!43, !31}
|
||||
!44 = !{!41, !35, i64 88}
|
||||
!45 = !{!41, !35, i64 92}
|
||||
!46 = !{!41, !35, i64 80}
|
||||
!47 = !{!41, !35, i64 0}
|
||||
在新工单中引用
屏蔽一个用户