e4s-sdk/gamedata/shaders/d3d11/copy.ps.hlsl
2026-06-17 23:06:51 +03:00

12 lines
287 B
HLSL

#include "common.hlsli"
#ifndef ISAMPLE
#define ISAMPLE 0
#endif
// Pixel
// TODO: DX10: move to load instead of sample (will need to provide integer texture coordinates)
float4 main(float2 tc : TEXCOORD0) : SV_Target
{
return s_generic.Sample(smp_nofilter, tc);
}