Atlas - color.frag.hlsl
Home / ext / SDL / src / render / gpu / shaders Lines: 1 | Size: 336 bytes [Download] [Show on GitHub] [Search similar files] [Raw] [Raw (proxy)][FILE BEGIN]1 2cbuffer Constants : register(b0, space3) 3{ 4 float color_scale; 5}; 6 7struct PSInput { 8 float4 v_color : COLOR0; 9}; 10 11struct PSOutput { 12 float4 o_color : SV_Target; 13}; 14 15#include "common.frag.hlsli" 16 17PSOutput main(PSInput input) { 18 PSOutput output; 19 output.o_color = GetOutputColor(1.0) * input.v_color; 20 return output; 21} 22[FILE END](C) 2025 0x4248 (C) 2025 4248 Media and 4248 Systems, All part of 0x4248 See LICENCE files for more information. Not all files are by 0x4248 always check Licencing.