chore: cleaned up all of the decompiled shaders

This commit is contained in:
la
2026-03-04 03:50:31 +10:00
parent cc6aade337
commit c8abc0127b
6 changed files with 111 additions and 116 deletions
@@ -23,22 +23,18 @@ SOFTWARE.
*/
cbuffer cbuff : register(b4)
{
float4 clear_colour;
float4 clearColour;
};
SamplerState screen_sampler_s : register(s0);
Texture2D<float4> screen_texture : register(t0);
float4 PS_ScreenSpace(float4 v0 : SV_POSITION, float2 v1 : TEXCOORD0) : SV_TARGET
float4 PS_ScreenSpace(float4 position : SV_POSITION, float2 texcoord : TEXCOORD0) : SV_TARGET
{
float4 o0;
o0.xyzw = screen_texture.Sample(screen_sampler_s, v1.xy).xyzw;
return o0;
return screen_texture.Sample(screen_sampler_s, texcoord);
}
float4 PS_ScreenClear(float4 v0 : SV_POSITION) : SV_TARGET
float4 PS_ScreenClear(float4 position : SV_POSITION) : SV_TARGET
{
float4 o0;
o0.xyzw = clear_colour.xyzw;
return o0;
return clearColour;
}