12 lines
287 B
HLSL
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);
|
|
}
|