diff options
Diffstat (limited to 'contrib/SDL-3.2.8/src/render/direct3d11/D3D11_PixelShader_Textures.hlsl')
| -rw-r--r-- | contrib/SDL-3.2.8/src/render/direct3d11/D3D11_PixelShader_Textures.hlsl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/SDL-3.2.8/src/render/direct3d11/D3D11_PixelShader_Textures.hlsl b/contrib/SDL-3.2.8/src/render/direct3d11/D3D11_PixelShader_Textures.hlsl new file mode 100644 index 0000000..f2ecf18 --- /dev/null +++ b/contrib/SDL-3.2.8/src/render/direct3d11/D3D11_PixelShader_Textures.hlsl | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | Texture2D theTexture : register(t0); | ||
| 2 | SamplerState theSampler : register(s0); | ||
| 3 | |||
| 4 | #include "D3D11_PixelShader_Common.hlsli" | ||
| 5 | |||
| 6 | float4 main(PixelShaderInput input) : SV_TARGET | ||
| 7 | { | ||
| 8 | return GetOutputColor(theTexture.Sample(theSampler, input.tex)) * input.color; | ||
| 9 | } | ||
