Vulkan: Force align verts to 4 on Apple devices.
This commit is contained in:
parent
40abcdb689
commit
8d4007ce3f
3 changed files with 3 additions and 1 deletions
|
@ -1254,7 +1254,7 @@ void VertexDecoder::SetVertexType(u32 fmt, const VertexDecoderOptions &options,
|
|||
decOff += DecFmtSize(decFmt.posfmt);
|
||||
}
|
||||
|
||||
decFmt.stride = decOff;
|
||||
decFmt.stride = options.alignOutputToWord ? align(decOff, 4) : decOff;
|
||||
|
||||
decFmt.ComputeID();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue