mirror of https://github.com/bkaradzic/bgfx
Cleanup.
This commit is contained in:
parent
4bab3fb8e9
commit
c69c963bc5
|
@ -921,7 +921,7 @@ namespace bgfx
|
|||
break;
|
||||
|
||||
default:
|
||||
size += bx::read(_reader, _operand.data[0], _err);
|
||||
size += bx::read(_reader, _operand.data, _err);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -1047,7 +1047,7 @@ namespace bgfx
|
|||
size += bx::snprintf(&_out[size], bx::uint32_imax(0, _size-size)
|
||||
, "%sAddressingModel(%d)"
|
||||
, 0 == ii ? " " : ", "
|
||||
, operand.data[0]
|
||||
, operand.data
|
||||
);
|
||||
break;
|
||||
|
||||
|
@ -1055,7 +1055,7 @@ namespace bgfx
|
|||
size += bx::snprintf(&_out[size], bx::uint32_imax(0, _size-size)
|
||||
, "%s%s"
|
||||
, 0 == ii ? " " : ", "
|
||||
, getName(SpvDecoration::Enum(operand.data[0]) )
|
||||
, getName(SpvDecoration::Enum(operand.data) )
|
||||
);
|
||||
break;
|
||||
|
||||
|
@ -1063,7 +1063,7 @@ namespace bgfx
|
|||
size += bx::snprintf(&_out[size], bx::uint32_imax(0, _size-size)
|
||||
, "%s0x%08x"
|
||||
, 0 == ii ? " " : ", "
|
||||
, operand.data[0]
|
||||
, operand.data
|
||||
);
|
||||
break;
|
||||
|
||||
|
@ -1071,7 +1071,7 @@ namespace bgfx
|
|||
size += bx::snprintf(&_out[size], bx::uint32_imax(0, _size-size)
|
||||
, "%s%d"
|
||||
, 0 == ii ? " " : ", "
|
||||
, operand.data[0]
|
||||
, operand.data
|
||||
);
|
||||
break;
|
||||
|
||||
|
@ -1087,7 +1087,7 @@ namespace bgfx
|
|||
size += bx::snprintf(&_out[size], bx::uint32_imax(0, _size-size)
|
||||
, "%sMemoryModel(%d)"
|
||||
, 0 == ii ? " " : ", "
|
||||
, operand.data[0]
|
||||
, operand.data
|
||||
);
|
||||
break;
|
||||
|
||||
|
@ -1095,7 +1095,7 @@ namespace bgfx
|
|||
size += bx::snprintf(&_out[size], bx::uint32_imax(0, _size-size)
|
||||
, "%s%s"
|
||||
, 0 == ii ? " " : ", "
|
||||
, getName(SpvStorageClass::Enum(operand.data[0]) )
|
||||
, getName(SpvStorageClass::Enum(operand.data) )
|
||||
);
|
||||
break;
|
||||
|
||||
|
@ -1103,7 +1103,7 @@ namespace bgfx
|
|||
size += bx::snprintf(&_out[size], bx::uint32_imax(0, _size-size)
|
||||
, "%s__%d__"
|
||||
, 0 == ii ? " " : ", "
|
||||
, operand.data[0]
|
||||
, operand.data
|
||||
);
|
||||
break;
|
||||
|
||||
|
@ -1111,7 +1111,7 @@ namespace bgfx
|
|||
size += bx::snprintf(&_out[size], bx::uint32_imax(0, _size-size)
|
||||
, "%sr%d"
|
||||
, 0 == ii ? " " : ", "
|
||||
, operand.data[0]
|
||||
, operand.data
|
||||
);
|
||||
break;
|
||||
|
||||
|
|
|
@ -581,9 +581,8 @@ namespace bgfx
|
|||
};
|
||||
|
||||
Enum type;
|
||||
uint32_t data[4];
|
||||
uint32_t data;
|
||||
|
||||
uint32_t target;
|
||||
stl::string literalString;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue