14 lines
227 B
HLSL
14 lines
227 B
HLSL
#include "common.hlsli"
|
|
|
|
struct ui_vert_out
|
|
{
|
|
float2 tc0 : TEXCOORD0;
|
|
};
|
|
|
|
float4 main(ui_vert_out I) : SV_Target
|
|
{
|
|
float4 r = s_base.Sample(smp_base, I.tc0);
|
|
r.xyz = PushGamma(r.xyz);
|
|
|
|
return r;
|
|
}
|