Compare commits

...

2 commits

Author SHA1 Message Date
Isaac Marovitz
672e6b477a
Merge 610c546a48 into 421e3b3e79 2025-04-04 03:33:41 +00:00
Isaac Marovitz
610c546a48
Fix half pixel offset
Signed-off-by: Isaac Marovitz <isaacryu@icloud.com>
2025-04-03 23:33:34 -04:00

View file

@ -59,7 +59,7 @@ struct PushConstants
#define g_Booleans (*(reinterpret_cast<device uint*>(g_PushConstants.SharedConstants + 256)))
#define g_SwappedTexcoords (*(reinterpret_cast<device uint*>(g_PushConstants.SharedConstants + 260)))
#define g_HalfPixelOffset (*(reinterpret_cast<device float*>(g_PushConstants.SharedConstants + 264)))
#define g_HalfPixelOffset (*(reinterpret_cast<device float2*>(g_PushConstants.SharedConstants + 264)))
#define g_AlphaThreshold (*(reinterpret_cast<device float*>(g_PushConstants.SharedConstants + 272)))
#else