Danbias/Code/OysterGraphics/Shader/HLSL/SimpleDebug/TextureDebug.hlsl

9 lines
160 B
HLSL
Raw Normal View History

#include "Debug.hlsl"
2013-11-27 15:26:29 +01:00
Texture2D tex : register(t0);
SamplerState S1 : register(s0);
float4 main(VertexOut inp) : SV_TARGET0
{
return tex.Sample(S1,inp.UV);
}