diff options
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 | } | ||
