mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-07 01:53:24 +09:00
[MG_Backend] (Magma): the indirect client-array staging block is monolith-only
This commit is contained in:
@@ -13092,7 +13092,9 @@ void main() {
|
||||
DrawCmdParam vertexRange{};
|
||||
vertexRange.vertexCount = 0;
|
||||
vertexRange.instanceCount = 1;
|
||||
{
|
||||
// MONOLITH ONLY: with a transport the frontend VAO is not this side's to read at all
|
||||
// (the client owns those bytes and stages them itself), and this runs on the apply thread.
|
||||
if (MG_Config::Transport == MG_Config::TransportMode::Monolith) {
|
||||
const auto& currentVAO = MGB_CTX->GetBoundVertexArray();
|
||||
Bool clientArray = false;
|
||||
if (currentVAO) {
|
||||
|
||||
Reference in New Issue
Block a user