summaryrefslogtreecommitdiff
path: root/SDL-3.2.8/src/render/direct3d11/D3D11_PixelShader_Textures.hlsl
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2026-03-06 13:26:57 -0800
committer3gg <3gg@shellblade.net>2026-03-06 13:26:57 -0800
commitf5c89b3bd5d74849757fd5b4d1a300068522a3ca (patch)
treed6f6e4c81745b393d7594b334710f30c0b2df3bd /SDL-3.2.8/src/render/direct3d11/D3D11_PixelShader_Textures.hlsl
Initial commitHEADmain
Diffstat (limited to 'SDL-3.2.8/src/render/direct3d11/D3D11_PixelShader_Textures.hlsl')
-rw-r--r--SDL-3.2.8/src/render/direct3d11/D3D11_PixelShader_Textures.hlsl9
1 files changed, 9 insertions, 0 deletions
diff --git a/SDL-3.2.8/src/render/direct3d11/D3D11_PixelShader_Textures.hlsl b/SDL-3.2.8/src/render/direct3d11/D3D11_PixelShader_Textures.hlsl
new file mode 100644
index 0000000..f2ecf18
--- /dev/null
+++ b/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}