From fab9cb5c0b8783ca5c66ed693ded770b315dd9f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sat, 17 Mar 2018 21:32:50 -0700 Subject: [PATCH] spirv: Fixed stack corruption. --- src/shader_spirv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shader_spirv.h b/src/shader_spirv.h index c5a37ed3d..309eca74a 100644 --- a/src/shader_spirv.h +++ b/src/shader_spirv.h @@ -601,7 +601,7 @@ namespace bgfx bool hasType; bool hasResult; - SpvOperand operand[10]; + SpvOperand operand[16]; }; int32_t read(bx::ReaderI* _reader, SpvInstruction& _instruction, bx::Error* _err);