LethalCompany/Lethal Company/ExportedProject/Assets/ComputeShader/HistogramExposure.asset
2023-12-22 18:30:10 -05:00

351 lines
27 KiB
Text

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!72 &7200000
ComputeShader:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: HistogramExposure
variants:
- serializedVersion: 2
targetRenderer: 2
targetLevel: 0
kernels:
- serializedVersion: 3
name: KHistogramGen
uniqueVariants:
- serializedVersion: 2
cbVariantIndices:
- 0
- 1
cbs:
- name: ShaderVariablesGlobal
generatedName:
bindPoint: 0
samplerBindPoint: -1
texDimension: -1
- name: cb
generatedName:
bindPoint: 1
samplerBindPoint: -1
texDimension: -1
textures:
- name: _ExposureWeightMask
generatedName:
bindPoint: 0
samplerBindPoint: -1
texDimension: 2
- name: _SourceTexture
generatedName:
bindPoint: 1
samplerBindPoint: -1
texDimension: 5
- name: _PreviousExposureTexture
generatedName:
bindPoint: 2
samplerBindPoint: -1
texDimension: 2
builtinSamplers:
- sampler: 85
bindPoint: 0
inBuffers: []
outBuffers:
- name: _HistogramBuffer
generatedName:
bindPoint: 0
samplerBindPoint: -1
texDimension: -1
code: 44584243cb5bbf027425b3fc5082ba5fdc5235a701000000140a0000030000002c0000003c0000004c0000004953474e0800000000000000080000004f53474e08000000000000000800000053484558c009000050000500700200006a08000159000004468e2000000000003100000059000004468e200001000000070000005a00000300601000000000005818000400701000000000005555000058400004007010000100000055550000581800040070100002000000555500009e00000400e0110000000000040000005f000002004002005f000002320002006800000202000000a000000500f011000000000004000000800000009b000004100000000800000001000000a800000812f01100000000000a40020001400000000000000140000000000000be1800012900000932001000000000004600020002400000010000000100000000000000000000001c000006c20010000000000006842000000000002e0000004f000007c2001000000000000604100000000000a60e1000000000000100000742001000000000003a001000000000002a001000000000001f0004032a0010000000000056000005320010000000000046001000000000002000000bc20010000000000006842000010000000600000002400000000000000000000001000000010000001f0004032a001000000000000000000a32001000010000004600100000000000024000000000003f0000003f00000000000000003800000832001000010000004600100001000000e68a2000000000002e00000032000011c200100001000000a68e208041000000000000002e0000000240000000000000000000000000003f0000003f0240000000000000000000000000803f0000803f330000073200100001000000e60a100001000000460010000100000038000008320010000100000046001000010000004680200000000000300000002d00008cc20000804355150042001000000000000240000000000000000000000000000000000000867d1000020000001900000542001000000000002a001000000000003800000842001000000000002a001000000000002a80200001000000010000000e00000a4200100000000000024000000000803f0000803f0000803f0000803f2a0010000000000036000005420010000100000001400000000000004800008d020200804355150072001000010000004602100001000000467e100001000000006010000000000001400000000000000e00000772001000010000004602100001000000a60a1000000000001000000a4200100000000000460210000100000002400000edc6593e3714373f7dd0933d0000000012000001360000054200100000000000014000000000803f150000011f0004033a001000000000000000000982001000000000001a802000000000002e0000000a802000000000002e0000003200000e320010000100000046802000000000002e000000024000000000003f0000003f00000000000000004600108041000000000000000f0000071200100001000000460010000100000046001000010000004b00000512001000010000000a001000010000003220000a82001000000000003a0010804100000000000000014000009a99193d0a001000010000000000000882001000000000003a0010804100000000000000014000000000803f120000012000000812001000010000001a802000010000000600000001400000020000001f0004030a001000010000000000000912001000010000001a802000000000002e0000000a802000000000002e0000003800000712001000010000000a00100001000000014000000000003f3200000e620010000100000006812000000000002e00000002400000000000000000003f0000003f000000000601108041000000000000000f0000072200100001000000960510000100000096051000010000004b00000522001000010000001a001000010000000e20000712001000010000001a001000010000000a001000010000000000000882001000000000000a0010804100000001000000014000000000803f120000012000000812001000010000001a802000010000000600000001400000030000001f0004030a0010000100000081000006320010000100000046802000000000002e000000380000073200100001000000460010000000000046001000010000004800008dc20000804355150082001000000000004600100001000000967310000000000000601000000000000140000000000000120000012000000812001000010000001a802000010000000600000001400000040000001f0004030a001000010000003400000912001000010000003a80200001000000020000002a80200001000000020000000e00000862001000010000000600100001000000a68b20000100000002000000380000073200100000000000460010000000000096051000010000003200000b320010000000000046802000010000000200000096051000010000004600108041000000000000000f0000071200100000000000460010000000000046001000000000004b00000512001000000000000a001000000000003100000822001000000000001a80200001000000030000002a001000000000003100000822001000010000002a001000000000002a80200001000000030000000100000722001000000000001a001000000000001a001000010000000e00000712001000000000000a001000000000000a001000010000002f00000612001000000000000a00108081000000000000003800000812001000000000000a001000000000000a80200001000000030000001900000512001000000000000a001000000000000000000812001000000000000a0010804100000000000000014000000000803f3400000712001000000000000a0010000000000001400000000000000100000782001000000000000a001000000000001a0010000000000012000001360000058200100000000000014000000000803f150000011500000115000001150000013800000712001000000000002a00100000000000014000000000c8420e00000812001000000000000a001000000000003a80200001000000010000002f00000512001000000000000a001000000000003220000b12001000000000000a001000000000000a80200001000000040000001a80200001000000040000003800000712001000000000000a00100000000000014000000000fe423800000742001000000000003a0010000000000001400000000000451c000005520010000000000006021000000000003600000522001000000000000140000000000000ad00000700f011000000000046001000000000002a0010000000000015000001be180001a700000812001000000000000a400200014000000000000006f01100000000003600000412001000010000000a4002003600000522001000010000000140000000000000ad00000700e011000000000046001000010000000a001000000000003e000001
threadGroupSize:
- 16
- 8
- 1
requirements: 16385
keywords: []
isCompiled: 0
- serializedVersion: 2
cbVariantIndices:
- 0
- 1
cbs:
- name: ShaderVariablesGlobal
generatedName:
bindPoint: 0
samplerBindPoint: -1
texDimension: -1
- name: cb
generatedName:
bindPoint: 1
samplerBindPoint: -1
texDimension: -1
textures:
- name: _ExposureWeightMask
generatedName:
bindPoint: 0
samplerBindPoint: -1
texDimension: 2
- name: _SourceTexture
generatedName:
bindPoint: 1
samplerBindPoint: -1
texDimension: 5
- name: _PreviousExposureTexture
generatedName:
bindPoint: 2
samplerBindPoint: -1
texDimension: 2
builtinSamplers:
- sampler: 85
bindPoint: 0
inBuffers: []
outBuffers:
- name: _HistogramBuffer
generatedName:
bindPoint: 0
samplerBindPoint: -1
texDimension: -1
code: 44584243cb5bbf027425b3fc5082ba5fdc5235a701000000140a0000030000002c0000003c0000004c0000004953474e0800000000000000080000004f53474e08000000000000000800000053484558c009000050000500700200006a08000159000004468e2000000000003100000059000004468e200001000000070000005a00000300601000000000005818000400701000000000005555000058400004007010000100000055550000581800040070100002000000555500009e00000400e0110000000000040000005f000002004002005f000002320002006800000202000000a000000500f011000000000004000000800000009b000004100000000800000001000000a800000812f01100000000000a40020001400000000000000140000000000000be1800012900000932001000000000004600020002400000010000000100000000000000000000001c000006c20010000000000006842000000000002e0000004f000007c2001000000000000604100000000000a60e1000000000000100000742001000000000003a001000000000002a001000000000001f0004032a0010000000000056000005320010000000000046001000000000002000000bc20010000000000006842000010000000600000002400000000000000000000001000000010000001f0004032a001000000000000000000a32001000010000004600100000000000024000000000003f0000003f00000000000000003800000832001000010000004600100001000000e68a2000000000002e00000032000011c200100001000000a68e208041000000000000002e0000000240000000000000000000000000003f0000003f0240000000000000000000000000803f0000803f330000073200100001000000e60a100001000000460010000100000038000008320010000100000046001000010000004680200000000000300000002d00008cc20000804355150042001000000000000240000000000000000000000000000000000000867d1000020000001900000542001000000000002a001000000000003800000842001000000000002a001000000000002a80200001000000010000000e00000a4200100000000000024000000000803f0000803f0000803f0000803f2a0010000000000036000005420010000100000001400000000000004800008d020200804355150072001000010000004602100001000000467e100001000000006010000000000001400000000000000e00000772001000010000004602100001000000a60a1000000000001000000a4200100000000000460210000100000002400000edc6593e3714373f7dd0933d0000000012000001360000054200100000000000014000000000803f150000011f0004033a001000000000000000000982001000000000001a802000000000002e0000000a802000000000002e0000003200000e320010000100000046802000000000002e000000024000000000003f0000003f00000000000000004600108041000000000000000f0000071200100001000000460010000100000046001000010000004b00000512001000010000000a001000010000003220000a82001000000000003a0010804100000000000000014000009a99193d0a001000010000000000000882001000000000003a0010804100000000000000014000000000803f120000012000000812001000010000001a802000010000000600000001400000020000001f0004030a001000010000000000000912001000010000001a802000000000002e0000000a802000000000002e0000003800000712001000010000000a00100001000000014000000000003f3200000e620010000100000006812000000000002e00000002400000000000000000003f0000003f000000000601108041000000000000000f0000072200100001000000960510000100000096051000010000004b00000522001000010000001a001000010000000e20000712001000010000001a001000010000000a001000010000000000000882001000000000000a0010804100000001000000014000000000803f120000012000000812001000010000001a802000010000000600000001400000030000001f0004030a0010000100000081000006320010000100000046802000000000002e000000380000073200100001000000460010000000000046001000010000004800008dc20000804355150082001000000000004600100001000000967310000000000000601000000000000140000000000000120000012000000812001000010000001a802000010000000600000001400000040000001f0004030a001000010000003400000912001000010000003a80200001000000020000002a80200001000000020000000e00000862001000010000000600100001000000a68b20000100000002000000380000073200100000000000460010000000000096051000010000003200000b320010000000000046802000010000000200000096051000010000004600108041000000000000000f0000071200100000000000460010000000000046001000000000004b00000512001000000000000a001000000000003100000822001000000000001a80200001000000030000002a001000000000003100000822001000010000002a001000000000002a80200001000000030000000100000722001000000000001a001000000000001a001000010000000e00000712001000000000000a001000000000000a001000010000002f00000612001000000000000a00108081000000000000003800000812001000000000000a001000000000000a80200001000000030000001900000512001000000000000a001000000000000000000812001000000000000a0010804100000000000000014000000000803f3400000712001000000000000a0010000000000001400000000000000100000782001000000000000a001000000000001a0010000000000012000001360000058200100000000000014000000000803f150000011500000115000001150000013800000712001000000000002a00100000000000014000000000c8420e00000812001000000000000a001000000000003a80200001000000010000002f00000512001000000000000a001000000000003220000b12001000000000000a001000000000000a80200001000000040000001a80200001000000040000003800000712001000000000000a00100000000000014000000000fe423800000742001000000000003a0010000000000001400000000000451c000005520010000000000006021000000000003600000522001000000000000140000000000000ad00000700f011000000000046001000000000002a0010000000000015000001be180001a700000812001000000000000a400200014000000000000006f01100000000003600000412001000010000000a4002003600000522001000010000000140000000000000ad00000700e011000000000046001000010000000a001000000000003e000001
threadGroupSize:
- 16
- 8
- 1
requirements: 16385
keywords: []
isCompiled: 0
variantIndices:
- : 0
- OUTPUT_DEBUG_DATA: 1
globalKeywords:
- OUTPUT_DEBUG_DATA
localKeywords: []
dynamicKeywords: []
- serializedVersion: 3
name: KHistogramReduce
uniqueVariants:
- serializedVersion: 2
cbVariantIndices:
- 2
- 3
cbs:
- name: ShaderVariablesGlobal
generatedName:
bindPoint: 0
samplerBindPoint: -1
texDimension: -1
- name: cb
generatedName:
bindPoint: 1
samplerBindPoint: -1
texDimension: -1
textures:
- name: _PreviousExposureTexture
generatedName:
bindPoint: 0
samplerBindPoint: -1
texDimension: 2
- name: _ExposureCurveTexture
generatedName:
bindPoint: 1
samplerBindPoint: -1
texDimension: 2
builtinSamplers:
- sampler: 85
bindPoint: 0
inBuffers:
- name: _HistogramBuffer
generatedName:
bindPoint: 2
samplerBindPoint: -1
texDimension: -1
outBuffers:
- name: _OutputTexture
generatedName:
bindPoint: 0
samplerBindPoint: -1
texDimension: 2
code: 4458424369b84adf4497d8a8d4b2b66bb6942ec90100000078080000030000002c0000003c0000004c0000004953474e0800000000000000080000004f53474e080000000000000008000000534845582408000050000500090200006a08000159000004468e2000000000004b00000059000004468e200001000000070000005a00000300601000000000005818000400701000000000005555000058180004007010000100000055550000a20000040070100002000000040000009c18000400e0110000000000555500005f000002120002006800000203000000a000000500f01100000000000400000080000000a000000500f011000100000004000000800000009b000004800000000100000001000000a700008a022300808399190012001000000000000a000200014000000000000006701000020000005600000512001000000000000a001000000000003800000712001000000000000a00100000000000014000000000003aa800000812f01100010000000a00020001400000000000000a00100000000000a800000812f01100000000000a00020001400000000000000a00100000000000be18000136000005120010000000000001400000400000003000000150000007220010000000000001400000000000000a00100000000000030004031a001000000000004f00000622001000000000000a0002000a001000000000001f0004031a00100000000000a700000822001000000000000a000200014000000000000006f01100000000001e00000642001000000000000a001000000000000a000200a700000942001000000000002a00100000000000014000000000000006f01100000000000000000722001000000000002a001000000000001a00100000000000a800000812f01100000000000a00020001400000000000001a0010000000000015000001be1800015500000712001000000000000a001000000000000140000001000000160000011f0000020a000200a700000912001000000000000140000000000000014000000000000006f01100000000003800000832001000000000000600100000000000e68a20000100000004000000360000053200100001000000460010000000000036000008c20010000000000002400000000000000000000000000000000000003600000582001000010000000140000000000000300000012100000712001000020000003a001000010000000140000080000000030004030a00100002000000a700000912001000020000003a00100001000000014000000000000006f01100010000005600000522001000020000003a001000010000003200000b22001000020000001a00100002000000014000000402013c1a8020804100000001000000040000000e00000822001000020000001a001000020000000a80200001000000040000003300000742001000020000000a001000010000000a001000020000000000000852001000010000000601100001000000a60a108041000000020000000000000812001000020000002a00108041000000020000000a001000020000003300000712001000020000002a001000010000000a001000020000000000000822001000010000002a001000010000000a00108041000000020000003200000942001000000000000a001000020000001a001000020000002a001000000000000000000782001000000000003a001000000000000a001000020000001e00000782001000010000003a001000010000000140000001000000160000013400000712001000000000003a001000000000000140000017b7d1388100000512001000000000000a001000000000003800000712001000010000000a001000000000002a001000000000002000000ba200100000000000f68b2000010000000600000002400000000000000200000000000000010000001f0004031a001000000000003200000b12001000000000002a001000000000000a001000000000000a8020804100000001000000010000000000000a22001000000000000a8020804100000001000000010000001a80200001000000010000000e20000712001000000000000a001000000000001a0010000000000036000005220010000000000001400000000000004800008dc20000804355150072001000010000004600100000000000467e1000010000000060100000000000014000000000000012000001360000066200100001000000568620000100000000000000150000010000000912001000000000000a001000010000000a8020804100000001000000000000001f0004033a001000000000002d00008cc20000804355150022001000000000000240000000000000000000000000000000000000467e1000000000000000000842001000000000001a00108041000000000000000a0010000000000031000007820010000000000001400000000000002a001000000000003700000b82001000000000003a001000000000001a80200001000000050000000a80200001000000050000003800000982001000000000003a001000000000000a80208041000000000000004a0000001900000582001000000000003a001000000000000000000882001000000000003a0010804100000000000000014000000000803f3200000912001000000000002a001000000000003a001000000000001a00100000000000150000013400000712001000000000001a001000010000000a001000000000003300000722001000000000002a001000010000000a001000000000001900000512001000010000001a001000000000003800000812001000010000000a001000010000002a80200001000000010000000e00000ad200100000000000024000000000803f0000803f0000803f0000803f0600100001000000a400000af2e01100000000000240000000000000000000000000000000000000460e100000000000150000013e000001
threadGroupSize:
- 128
- 1
- 1
requirements: 16385
keywords: []
isCompiled: 0
- serializedVersion: 2
cbVariantIndices:
- 2
- 3
cbs:
- name: ShaderVariablesGlobal
generatedName:
bindPoint: 0
samplerBindPoint: -1
texDimension: -1
- name: cb
generatedName:
bindPoint: 1
samplerBindPoint: -1
texDimension: -1
textures:
- name: _PreviousExposureTexture
generatedName:
bindPoint: 0
samplerBindPoint: -1
texDimension: 2
- name: _ExposureCurveTexture
generatedName:
bindPoint: 1
samplerBindPoint: -1
texDimension: 2
builtinSamplers:
- sampler: 85
bindPoint: 0
inBuffers:
- name: _HistogramBuffer
generatedName:
bindPoint: 2
samplerBindPoint: -1
texDimension: -1
outBuffers:
- name: _OutputTexture
generatedName:
bindPoint: 0
samplerBindPoint: -1
texDimension: 2
- name: _ExposureDebugTexture
generatedName:
bindPoint: 1
samplerBindPoint: -1
texDimension: 2
code: 44584243a0e224ecf8f307bc432dc1ca4f3b582601000000dc080000030000002c0000003c0000004c0000004953474e0800000000000000080000004f53474e080000000000000008000000534845588808000050000500220200006a08000159000004468e2000000000004b00000059000004468e200001000000070000005a00000300601000000000005818000400701000000000005555000058180004007010000100000055550000a20000040070100002000000040000009c18000400e0110000000000555500009c18000400e0110001000000555500005f000002120002006800000203000000a000000500f01100000000000400000080000000a000000500f011000100000004000000800000009b000004800000000100000001000000a700008a022300808399190012001000000000000a000200014000000000000006701000020000005600000512001000000000000a001000000000003800000712001000000000000a00100000000000014000000000003aa800000812f01100010000000a00020001400000000000000a00100000000000a800000812f01100000000000a00020001400000000000000a00100000000000be18000136000005120010000000000001400000400000003000000150000007220010000000000001400000000000000a00100000000000030004031a001000000000004f00000622001000000000000a0002000a001000000000001f0004031a00100000000000a700000822001000000000000a000200014000000000000006f01100000000001e00000642001000000000000a001000000000000a000200a700000942001000000000002a00100000000000014000000000000006f01100000000000000000722001000000000002a001000000000001a00100000000000a800000812f01100000000000a00020001400000000000001a0010000000000015000001be1800015500000712001000000000000a001000000000000140000001000000160000011f0000020a000200a700000912001000000000000140000000000000014000000000000006f01100000000003800000832001000000000000600100000000000e68a20000100000004000000360000053200100001000000460010000000000036000008c20010000000000002400000000000000000000000000000000000003600000582001000010000000140000000000000300000012100000712001000020000003a001000010000000140000080000000030004030a00100002000000a700000912001000020000003a00100001000000014000000000000006f01100010000005600000522001000020000003a001000010000003200000b22001000020000001a00100002000000014000000402013c1a8020804100000001000000040000000e00000822001000020000001a001000020000000a80200001000000040000003300000742001000020000000a001000010000000a001000020000000000000852001000010000000601100001000000a60a108041000000020000000000000812001000020000002a00108041000000020000000a001000020000003300000712001000020000002a001000010000000a001000020000000000000822001000010000002a001000010000000a00108041000000020000003200000942001000000000000a001000020000001a001000020000002a001000000000000000000782001000000000003a001000000000000a001000020000001e00000782001000010000003a001000010000000140000001000000160000013400000712001000000000003a001000000000000140000017b7d1388100000512001000000000000a001000000000003800000712001000010000000a001000000000002a001000000000002000000ba200100000000000f68b2000010000000600000002400000000000000200000000000000010000001f0004031a001000000000003200000b12001000000000002a001000000000000a001000000000000a8020804100000001000000010000000000000a22001000000000000a8020804100000001000000010000001a80200001000000010000000e20000712001000000000000a001000000000001a0010000000000036000005220010000000000001400000000000004800008dc20000804355150072001000010000004600100000000000467e10000100000000601000000000000140000000000000120000013600000662001000010000005686200001000000000000001500000100000009d2001000020000000600100001000000068020804100000001000000000000001f0004033a001000000000002d00008cc20000804355150012001000000000000240000000000000000000000000000000000000167e1000000000000000000822001000000000000a00108041000000000000003a0010000200000031000007420010000000000001400000000000001a001000000000003700000b42001000000000002a001000000000001a80200001000000050000000a80200001000000050000003800000942001000000000002a001000000000000a80208041000000000000004a0000001900000542001000000000002a001000000000000000000842001000000000002a0010804100000000000000014000000000803f3200000912001000000000001a001000000000002a001000000000000a00100000000000120000013600000512001000000000003a00100002000000150000013400000712001000000000001a001000010000000a001000000000003300000722001000000000002a001000010000000a001000000000001900000512001000010000001a001000000000003800000812001000010000000a001000010000002a80200001000000010000000e00000ad200100000000000024000000000803f0000803f0000803f0000803f0600100001000000a400000af2e01100000000000240000000000000000000000000000000000000460e1000000000003600000522001000020000000140000000000000a400000af2e01100010000000240000000000000000000000000000000000000460e100002000000150000013e000001
threadGroupSize:
- 128
- 1
- 1
requirements: 16385
keywords: []
isCompiled: 0
variantIndices:
- : 0
- OUTPUT_DEBUG_DATA: 1
globalKeywords:
- OUTPUT_DEBUG_DATA
localKeywords: []
dynamicKeywords: []
constantBuffers:
- name: ShaderVariablesGlobal
byteSize: 2912
params:
- name: _ScreenSize
type: 0
offset: 736
arraySize: 0
rowCount: 1
colCount: 4
- name: _RTHandleScale
type: 0
offset: 768
arraySize: 0
rowCount: 1
colCount: 4
- name: cb
byteSize: 112
params:
- name: _ExposureParams2
type: 0
offset: 16
arraySize: 0
rowCount: 1
colCount: 4
- name: _ProceduralMaskParams
type: 0
offset: 32
arraySize: 0
rowCount: 1
colCount: 4
- name: _ProceduralMaskParams2
type: 0
offset: 48
arraySize: 0
rowCount: 1
colCount: 4
- name: _HistogramExposureParams
type: 0
offset: 64
arraySize: 0
rowCount: 1
colCount: 4
- name: _Variants
type: 5
offset: 96
arraySize: 0
rowCount: 1
colCount: 4
- name: ShaderVariablesGlobal
byteSize: 2912
params:
- name: unity_DeltaTime
type: 0
offset: 1184
arraySize: 0
rowCount: 1
colCount: 4
- name: cb
byteSize: 112
params:
- name: _ExposureParams
type: 0
offset: 0
arraySize: 0
rowCount: 1
colCount: 4
- name: _ExposureParams2
type: 0
offset: 16
arraySize: 0
rowCount: 1
colCount: 4
- name: _HistogramExposureParams
type: 0
offset: 64
arraySize: 0
rowCount: 1
colCount: 4
- name: _AdaptationParams
type: 0
offset: 80
arraySize: 0
rowCount: 1
colCount: 4
- name: _Variants
type: 5
offset: 96
arraySize: 0
rowCount: 1
colCount: 4
resourcesResolved: 1
compilerPlatform: 0
needsReflectionData: 0
m_CompilationContext:
serializedVersion: 2
buildTarget:
platform: 0
subTarget: 0
extendedPlatform: 0
isEditor: 0
platformGroup: 0
sourceFileName:
source:
sourceFile:
kernels: []
kernelMacros: []
compilationFlags: 0
supportedAPIs: 0
useDxcAPIs: 0
neverUseDxcAPIs: 0
includeHash0: 0
includeHash1: 0
includeHash2: 0
includeHash3: 0
errors: []