diff --git a/src/renderer_d3d11.cpp b/src/renderer_d3d11.cpp index bfcb3698..ebf5f249 100644 --- a/src/renderer_d3d11.cpp +++ b/src/renderer_d3d11.cpp @@ -3529,6 +3529,10 @@ BX_PRAGMA_DIAGNOSTIC_POP(); m_constantBuffer->writeUniformHandle( (UniformType::Enum)(type|fragmentBit), regIndex, info->m_handle, regCount); } } + else + { + kind = "sampler"; + } BX_TRACE("\t%s: %s (%s), num %2d, r.index %3d, r.count %2d" , kind diff --git a/src/renderer_d3d12.cpp b/src/renderer_d3d12.cpp index 353342f4..cbf25666 100644 --- a/src/renderer_d3d12.cpp +++ b/src/renderer_d3d12.cpp @@ -3523,6 +3523,10 @@ data.NumQualityLevels = 0; m_constantBuffer->writeUniformHandle( (UniformType::Enum)(type|fragmentBit), regIndex, info->m_handle, regCount); } } + else + { + kind = "sampler"; + } BX_TRACE("\t%s: %s (%s), num %2d, r.index %3d, r.count %2d" , kind diff --git a/src/renderer_d3d9.cpp b/src/renderer_d3d9.cpp index 0cfc2017..3ae8964d 100644 --- a/src/renderer_d3d9.cpp +++ b/src/renderer_d3d9.cpp @@ -2230,6 +2230,10 @@ namespace bgfx { namespace d3d9 m_constantBuffer->writeUniformHandle( (UniformType::Enum)(type|fragmentBit), regIndex, info->m_handle, regCount); } } + else + { + kind = "sampler"; + } BX_TRACE("\t%s: %s (%s), num %2d, r.index %3d, r.count %2d" , kind