diff options
| author | Tilka <tilkax@gmail.com> | 2023-10-28 02:12:40 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-28 02:12:40 +0100 |
| commit | 7c243a110a1b210238a824f56d3a33fed4aee9c6 (patch) | |
| tree | b0671b61dc3545ed77b1b11df93e5e50113a651c /Source/Core/VideoCommon/UberShaderVertex.cpp | |
| parent | ef447bb40ba1bea3c8b5ff084d83bd49f5a08e8f (diff) | |
| parent | 4f2a79058a35a51e549c0ad5416cd5709fc35df4 (diff) | |
Merge pull request #12253 from TellowKrinkle/AsahiGL
Fix shader compiles on Asahi Linux
Diffstat (limited to 'Source/Core/VideoCommon/UberShaderVertex.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/UberShaderVertex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/UberShaderVertex.cpp b/Source/Core/VideoCommon/UberShaderVertex.cpp index 71fc974ced..eceda62e48 100644 --- a/Source/Core/VideoCommon/UberShaderVertex.cpp +++ b/Source/Core/VideoCommon/UberShaderVertex.cpp @@ -101,7 +101,7 @@ SSBO_BINDING(1) readonly restrict buffer Vertices {{ out.Write(R"( uint4 load_input_uint4_ubyte4(uint vtx_offset, uint attr_offset) {{ uint value = vertex_buffer[vtx_offset + attr_offset]; - return uint4(value & 0xff, (value >> 8) & 0xff, (value >> 16) & 0xff, value >> 24); + return uint4(value & 0xffu, (value >> 8) & 0xffu, (value >> 16) & 0xffu, value >> 24); }} float4 load_input_float4_ubyte4(uint vtx_offset, uint attr_offset) {{ |
