mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 00:28:56 +00:00
VideoCommon: Fix VS point/line on older GLSL
This commit is contained in:
parent
60e3b4c093
commit
323aea60d6
2 changed files with 5 additions and 5 deletions
|
@ -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) {{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue