mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
(D3D11) sample the font atlas correctly.
This commit is contained in:
parent
0cd2310a6f
commit
ccc9d36949
@ -77,14 +77,10 @@ SRC(
|
||||
float4 PSMain(PSInput input) : SV_TARGET
|
||||
{
|
||||
return input.color * t0.Sample(s0, input.texcoord);
|
||||
// return float4(1.0f, 1.0f, 1.0f, 1.0f);
|
||||
// return input.color;
|
||||
};
|
||||
float4 PSMainA8(PSInput input) : SV_TARGET
|
||||
{
|
||||
// return t0.Sample(s0, input.texcoord).a;
|
||||
return input.color * t0.Sample(s0, input.texcoord).a;
|
||||
// return input.color;
|
||||
return float4(input.color.rgb , input.color.a * t0.Sample(s0, input.texcoord).a);
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user