您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
19 行
408 B
19 行
408 B
// Autogenerated file. Do not edit by hand
|
|
|
|
#include "../ShaderLibrary/Common.hlsl"
|
|
|
|
#pragma only_renderers d3d11 ps4 xboxone vulkan metal
|
|
|
|
RWTexture2D<float1> _Result1;
|
|
|
|
Texture2D<float4> _Source4;
|
|
|
|
|
|
#pragma kernel KSampleCopy4_1_x
|
|
[numthreads(8, 8, 1)]
|
|
void KSampleCopy4_1_x(uint2 dispatchThreadId : SV_DispatchThreadID)
|
|
{
|
|
_Result1[dispatchThreadId] = LOAD_TEXTURE2D(_Source4, dispatchThreadId).x;
|
|
}
|
|
|
|
|