summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/src/shader_dxbc.cpp
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/src/shader_dxbc.cpp')
-rw-r--r--3rdparty/bgfx/src/shader_dxbc.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/3rdparty/bgfx/src/shader_dxbc.cpp b/3rdparty/bgfx/src/shader_dxbc.cpp
index b73b215a325..908fd11d65e 100644
--- a/3rdparty/bgfx/src/shader_dxbc.cpp
+++ b/3rdparty/bgfx/src/shader_dxbc.cpp
@@ -94,7 +94,7 @@ namespace bgfx
{ 2, 0 }, // SQRT
{ 1, 0 }, // SWITCH
{ 3, 0 }, // SINCOS
- { 3, 0 }, // UDIV
+ { 4, 0 }, // UDIV
{ 3, 0 }, // ULT
{ 3, 0 }, // UGE
{ 4, 0 }, // UMUL
@@ -1279,12 +1279,12 @@ namespace bgfx
_instruction.numOperands = info.numOperands;
switch (info.numOperands)
{
- case 6: size += read(_reader, _instruction.operand[currOp++], _err);
- case 5: size += read(_reader, _instruction.operand[currOp++], _err);
- case 4: size += read(_reader, _instruction.operand[currOp++], _err);
- case 3: size += read(_reader, _instruction.operand[currOp++], _err);
- case 2: size += read(_reader, _instruction.operand[currOp++], _err);
- case 1: size += read(_reader, _instruction.operand[currOp++], _err);
+ case 6: size += read(_reader, _instruction.operand[currOp++], _err); BX_FALLTHROUGH;
+ case 5: size += read(_reader, _instruction.operand[currOp++], _err); BX_FALLTHROUGH;
+ case 4: size += read(_reader, _instruction.operand[currOp++], _err); BX_FALLTHROUGH;
+ case 3: size += read(_reader, _instruction.operand[currOp++], _err); BX_FALLTHROUGH;
+ case 2: size += read(_reader, _instruction.operand[currOp++], _err); BX_FALLTHROUGH;
+ case 1: size += read(_reader, _instruction.operand[currOp++], _err); BX_FALLTHROUGH;
case 0:
if (0 < info.numValues)
{