Skip to content

Commit 3d736ff

Browse files
committed
Upstream
Signed-off-by: Isaac Marovitz <[email protected]>
1 parent 13fb9fd commit 3d736ff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

XenosRecomp/shader_common.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ struct PushConstants
5959

6060
#define g_Booleans (*(reinterpret_cast<device uint*>(g_PushConstants.SharedConstants + 256)))
6161
#define g_SwappedTexcoords (*(reinterpret_cast<device uint*>(g_PushConstants.SharedConstants + 260)))
62-
#define g_AlphaThreshold (*(reinterpret_cast<device float*>(g_PushConstants.SharedConstants + 264)))
62+
#define g_HalfPixelOffset (*(reinterpret_cast<device float*>(g_PushConstants.SharedConstants + 264)))
63+
#define g_AlphaThreshold (*(reinterpret_cast<device float*>(g_PushConstants.SharedConstants + 272)))
6364

6465
#else
6566

0 commit comments

Comments
 (0)