mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 06:13:07 +01:00
Cleanup.
This commit is contained in:
@@ -990,7 +990,11 @@ namespace bgfx
|
||||
break;
|
||||
|
||||
default:
|
||||
for (;size/4 != _instruction.length && _err->isOk(); ++currOp)
|
||||
for (
|
||||
; size/4 != _instruction.length
|
||||
&& _err->isOk()
|
||||
&& currOp < BX_COUNTOF(_instruction.operand)
|
||||
; ++currOp)
|
||||
{
|
||||
_instruction.operand[currOp].type = info.operands[currOp];
|
||||
size += read(_reader, _instruction.operand[currOp], _err);
|
||||
|
||||
@@ -601,7 +601,7 @@ namespace bgfx
|
||||
bool hasType;
|
||||
bool hasResult;
|
||||
|
||||
SpvOperand operand[8];
|
||||
SpvOperand operand[10];
|
||||
};
|
||||
|
||||
int32_t read(bx::ReaderI* _reader, SpvInstruction& _instruction, bx::Error* _err);
|
||||
|
||||
Reference in New Issue
Block a user