[Feat] (MG_Backend/DirectVulkan): vertex input state factory

This commit is contained in:
2026-02-17 10:24:01 +08:00
parent 206d8ab36a
commit 324498ccac
8 changed files with 250 additions and 0 deletions
@@ -112,6 +112,7 @@ namespace MobileGL::MG_Backend::DirectVulkan {
payload.count = count;
const auto vao = MG_State::pGLContext->GetBoundVertexArray();
payload.vertexArray = vao ? vao.get() : nullptr;
if (vao) {
const auto& attr0 = vao->GetAttribute(0);
if (attr0.Enabled && attr0.Buffer) {