summaryrefslogtreecommitdiff
path: root/contrib/SDL-3.2.8/src/render/direct3d11/D3D11_PixelShader_Textures.hlsl
blob: f2ecf18a8a138c46d1017c13c944a7e75cce0241 (plain)
1
2
3
4
5
6
7
8
9
Texture2D theTexture : register(t0);
SamplerState theSampler : register(s0);

#include "D3D11_PixelShader_Common.hlsli"

float4 main(PixelShaderInput input) : SV_TARGET
{
    return GetOutputColor(theTexture.Sample(theSampler, input.tex)) * input.color;
}