mirror of https://github.com/PCSX2/pcsx2.git
GS/HW: Get rid of padding in present UBO
It was adding additional padding, which blew the block size out.
This commit is contained in:
parent
21900555dc
commit
02f3279dec
|
@ -29,7 +29,6 @@ cbuffer cb0 : register(b0)
|
|||
float2 u_source_resolution;
|
||||
float2 u_rcp_source_resolution; // 1 / u_source_resolution
|
||||
float u_time;
|
||||
float3 cb0_pad0;
|
||||
};
|
||||
|
||||
Texture2D Texture;
|
||||
|
|
|
@ -40,7 +40,6 @@ uniform vec2 u_rcp_target_resolution; // 1 / u_target_resolution
|
|||
uniform vec2 u_source_resolution;
|
||||
uniform vec2 u_rcp_source_resolution; // 1 / u_source_resolution
|
||||
uniform float u_time;
|
||||
uniform vec3 cb0_pad0;
|
||||
|
||||
in vec4 PSin_p;
|
||||
in vec2 PSin_t;
|
||||
|
|
|
@ -26,7 +26,6 @@ layout(push_constant) uniform cb10
|
|||
vec2 u_source_resolution;
|
||||
vec2 u_rcp_source_resolution; // 1 / u_source_resolution
|
||||
float u_time;
|
||||
vec3 cb0_pad0;
|
||||
};
|
||||
|
||||
layout(location = 0) in vec2 v_tex;
|
||||
|
|
Loading…
Reference in New Issue