Fixed release build.
This commit is contained in:
parent
8c785b6be9
commit
a6983339c8
@ -588,7 +588,7 @@ namespace bgfx { namespace d3d12
|
||||
if (SUCCEEDED(hr) )
|
||||
{
|
||||
m_infoQueue->SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_CORRUPTION, true);
|
||||
m_infoQueue->SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_ERROR, false);
|
||||
m_infoQueue->SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_ERROR, true);
|
||||
m_infoQueue->SetBreakOnSeverity(D3D12_MESSAGE_SEVERITY_WARNING, false);
|
||||
|
||||
D3D12_INFO_QUEUE_FILTER filter;
|
||||
|
@ -682,6 +682,7 @@ namespace bgfx
|
||||
bool pixelShader = (0xffff0000 == (_bc.version & 0xffff0000) );
|
||||
uint32_t versionMajor = (_bc.version>>8)&0xff;
|
||||
uint32_t versionMinor = _bc.version&0xff;
|
||||
BX_UNUSED(pixelShader, versionMajor, versionMinor);
|
||||
BX_TRACE("%s shader %d.%d"
|
||||
, pixelShader ? "pixel" : "vertex"
|
||||
, versionMajor
|
||||
@ -709,8 +710,7 @@ namespace bgfx
|
||||
{
|
||||
Dx9bcInstruction instruction;
|
||||
uint32_t size = read(&reader, instruction);
|
||||
|
||||
BX_CHECK(size/4 == instruction.length, "read %d, expected %d", size/4, instruction.length);
|
||||
BX_CHECK(size/4 == instruction.length, "read %d, expected %d", size/4, instruction.length); BX_UNUSED(size);
|
||||
|
||||
_fn(token * sizeof(uint32_t), instruction, _userData);
|
||||
|
||||
@ -730,7 +730,7 @@ namespace bgfx
|
||||
{
|
||||
Dx9bcInstruction instruction;
|
||||
uint32_t size = read(&reader, instruction);
|
||||
BX_CHECK(size/4 == instruction.length, "read %d, expected %d", size/4, instruction.length);
|
||||
BX_CHECK(size/4 == instruction.length, "read %d, expected %d", size/4, instruction.length); BX_UNUSED(size);
|
||||
|
||||
_fn(instruction, _userData);
|
||||
|
||||
|
@ -1812,8 +1812,7 @@ namespace bgfx
|
||||
{
|
||||
DxbcInstruction instruction;
|
||||
uint32_t size = read(&reader, instruction);
|
||||
|
||||
BX_CHECK(size/4 == instruction.length, "read %d, expected %d", size/4, instruction.length);
|
||||
BX_CHECK(size/4 == instruction.length, "read %d, expected %d", size/4, instruction.length); BX_UNUSED(size);
|
||||
|
||||
_fn(token * sizeof(uint32_t), instruction, _userData);
|
||||
|
||||
@ -1833,7 +1832,7 @@ namespace bgfx
|
||||
{
|
||||
DxbcInstruction instruction;
|
||||
uint32_t size = read(&reader, instruction);
|
||||
BX_CHECK(size/4 == instruction.length, "read %d, expected %d", size/4, instruction.length);
|
||||
BX_CHECK(size/4 == instruction.length, "read %d, expected %d", size/4, instruction.length); BX_UNUSED(size);
|
||||
|
||||
_fn(instruction, _userData);
|
||||
|
||||
|
@ -716,12 +716,12 @@ namespace bgfx
|
||||
{
|
||||
SpirvInstruction instruction;
|
||||
uint32_t size = read(&reader, instruction);
|
||||
|
||||
BX_CHECK(size/4 == instruction.length, "read %d, expected %d, %s"
|
||||
, size/4
|
||||
, instruction.length
|
||||
, getName(instruction.opcode)
|
||||
);
|
||||
BX_UNUSED(size);
|
||||
|
||||
_fn(token * sizeof(uint32_t), instruction, _userData);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user