summaryrefslogtreecommitdiff
path: root/contrib/SDL-3.2.8/src/render/direct3d11/D3D11_PixelShader_Textures.hlsl
diff options
context:
space:
mode:
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.hlsl9
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 @@
1Texture2D theTexture : register(t0);
2SamplerState theSampler : register(s0);
3
4#include "D3D11_PixelShader_Common.hlsli"
5
6float4 main(PixelShaderInput input) : SV_TARGET
7{
8 return GetOutputColor(theTexture.Sample(theSampler, input.tex)) * input.color;
9}