diff options
| author | Sssnowyyy <78863999+Sssnowyyy@users.noreply.github.com> | 2026-11-02 11:56:47 -0500 |
|---|---|---|
| committer | Sssnowyyy <78863999+Sssnowyyy@users.noreply.github.com> | 2026-11-02 14:53:47 -0500 |
| commit | cd9b19c69d7eedc2d2d3557c27a0a06c4420213d (patch) | |
| tree | bb0392e5b982c238eba237c5b372e86363f485d4 /src/core/debugger/gdbstub.cpp | |
| parent | b45f4c6d2c79cbb60eeda4d3ad887f9964a297e3 (diff) | |
vulkan: repack 69-byte vertices without dynamic vertex input on MoltenVK
e38b738b84 repacks the 69-byte vertex stride to 72 only with dynamic
vertex input, unless EGLANTINE_EXPERIMENTAL_STATIC_VERTEX_REPACK=1.
MoltenVK has no VK_EXT_vertex_input_dynamic_state and Metal needs strides
that are a multiple of 4, so the stride was never fixed on Macs.
Enable the static path automatically when the device's minimum vertex
binding stride alignment does not divide 69. The device reports 4 for
MoltenVK, matching its portability subset limit. The environment variable
still overrides it: 1 forces the repack on, 0 forces it off.
Assisted-by: Claude Sonnet 5.5 (implementation and commit message)
Diffstat (limited to 'src/core/debugger/gdbstub.cpp')
0 files changed, 0 insertions, 0 deletions
