post processing
[WindSway-HDRP.git] / Library / PackageCache / com.unity.render-pipelines.high-definition@4.10.0-preview / Runtime / Core / CoreResources / GPUCopy.compute
blob097326fd0a01e076bc149bb80c507c61cddf4fc5
1 // Autogenerated file. Do not edit by hand
3 #pragma only_renderers d3d11 ps4 xboxone vulkan metal switch
4 #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl"
6 CBUFFER_START (UnityCBuffer)
7   uint2 _RectOffset;
8 CBUFFER_END
10 RWTexture2D<float1> _Result1;
11 Texture2D<float4> _Source4;
13 #pragma kernel KSampleCopy4_1_x_8   KERNEL_NAME=KSampleCopy4_1_x_8  KERNEL_SIZE=8
14 #pragma kernel KSampleCopy4_1_x_1   KERNEL_NAME=KSampleCopy4_1_x_1  KERNEL_SIZE=1
15 [numthreads(KERNEL_SIZE, KERNEL_SIZE, 1)]
16 void KERNEL_NAME(uint2 dispatchThreadId : SV_DispatchThreadID)
18     _Result1[_RectOffset + dispatchThreadId] = LOAD_TEXTURE2D(_Source4, _RectOffset + dispatchThreadId).x;