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)
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;