sdl3-src 3.4.4

Source code of the SDL 3 library
Documentation
1
2
3
4
5
6
7

#include "D3D9_PixelShader_Palette.hlsli"

float4 main(PixelShaderInput input) : SV_TARGET
{
    return SamplePaletteLinear(input.tex) * input.color;
}