diff options
| author | 3gg <3gg@shellblade.net> | 2025-12-27 12:03:39 -0800 |
|---|---|---|
| committer | 3gg <3gg@shellblade.net> | 2025-12-27 12:03:39 -0800 |
| commit | 5a079a2d114f96d4847d1ee305d5b7c16eeec50e (patch) | |
| tree | 8926ab44f168acf787d8e19608857b3af0f82758 /contrib/SDL-3.2.8/src/render/vulkan/VULKAN_PixelShader_Textures.hlsl | |
Initial commit
Diffstat (limited to 'contrib/SDL-3.2.8/src/render/vulkan/VULKAN_PixelShader_Textures.hlsl')
| -rw-r--r-- | contrib/SDL-3.2.8/src/render/vulkan/VULKAN_PixelShader_Textures.hlsl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/SDL-3.2.8/src/render/vulkan/VULKAN_PixelShader_Textures.hlsl b/contrib/SDL-3.2.8/src/render/vulkan/VULKAN_PixelShader_Textures.hlsl new file mode 100644 index 0000000..e665291 --- /dev/null +++ b/contrib/SDL-3.2.8/src/render/vulkan/VULKAN_PixelShader_Textures.hlsl | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | |||
| 2 | #include "VULKAN_PixelShader_Common.hlsli" | ||
| 3 | |||
| 4 | float4 main(PixelShaderInput input) : SV_TARGET | ||
| 5 | { | ||
| 6 | return GetOutputColor(texture0.Sample(sampler0, input.tex)) * input.color; | ||
| 7 | } | ||
