Parcourir la source

Revert "Remove debug label quotes"

This reverts commit 08b3ec5814739a038e58e1e20fd0e6a08117be85.
Pablo Escobar il y a 5 ans
Parent
commit
1b85139371
5 fichiers modifiés avec 13 ajouts et 13 suppressions
  1. 3 3
      src/renderer_d3d11.cpp
  2. 3 3
      src/renderer_d3d12.cpp
  3. 3 3
      src/renderer_d3d9.cpp
  4. 3 3
      src/renderer_gl.cpp
  5. 1 1
      src/renderer_mtl.mm

+ 3 - 3
src/renderer_d3d11.cpp

@@ -5314,7 +5314,7 @@ namespace bgfx { namespace d3d11
 			renderDocTriggerCapture();
 			renderDocTriggerCapture();
 		}
 		}
 
 
-		BGFX_D3D11_PROFILER_BEGIN_LITERAL(rendererSubmit, kColorView);
+		BGFX_D3D11_PROFILER_BEGIN_LITERAL("rendererSubmit", kColorView);
 
 
 		ID3D11DeviceContext* deviceCtx = m_deviceCtx;
 		ID3D11DeviceContext* deviceCtx = m_deviceCtx;
 
 
@@ -6224,7 +6224,7 @@ namespace bgfx { namespace d3d11
 
 
 		if (_render->m_debug & (BGFX_DEBUG_IFH|BGFX_DEBUG_STATS) )
 		if (_render->m_debug & (BGFX_DEBUG_IFH|BGFX_DEBUG_STATS) )
 		{
 		{
-			BGFX_D3D11_PROFILER_BEGIN_LITERAL(debugstats, kColorFrame);
+			BGFX_D3D11_PROFILER_BEGIN_LITERAL("debugstats", kColorFrame);
 
 
 			m_needPresent = true;
 			m_needPresent = true;
 			TextVideoMem& tvm = m_textVideoMem;
 			TextVideoMem& tvm = m_textVideoMem;
@@ -6356,7 +6356,7 @@ namespace bgfx { namespace d3d11
 		}
 		}
 		else if (_render->m_debug & BGFX_DEBUG_TEXT)
 		else if (_render->m_debug & BGFX_DEBUG_TEXT)
 		{
 		{
-			BGFX_D3D11_PROFILER_BEGIN_LITERAL(debugtext, kColorFrame);
+			BGFX_D3D11_PROFILER_BEGIN_LITERAL("debugtext", kColorFrame);
 
 
 			blit(this, _textVideoMemBlitter, _render->m_textVideoMem);
 			blit(this, _textVideoMemBlitter, _render->m_textVideoMem);
 
 

+ 3 - 3
src/renderer_d3d12.cpp

@@ -5812,7 +5812,7 @@ namespace bgfx { namespace d3d12
 			renderDocTriggerCapture();
 			renderDocTriggerCapture();
 		}
 		}
 
 
-		BGFX_D3D12_PROFILER_BEGIN_LITERAL(rendererSubmit, kColorFrame);
+		BGFX_D3D12_PROFILER_BEGIN_LITERAL("rendererSubmit", kColorFrame);
 
 
 		int64_t timeBegin = bx::getHPCounter();
 		int64_t timeBegin = bx::getHPCounter();
 		int64_t captureElapsed = 0;
 		int64_t captureElapsed = 0;
@@ -6703,7 +6703,7 @@ namespace bgfx { namespace d3d12
 
 
 		if (_render->m_debug & (BGFX_DEBUG_IFH|BGFX_DEBUG_STATS) )
 		if (_render->m_debug & (BGFX_DEBUG_IFH|BGFX_DEBUG_STATS) )
 		{
 		{
-			BGFX_D3D12_PROFILER_BEGIN_LITERAL(debugstats, kColorFrame);
+			BGFX_D3D12_PROFILER_BEGIN_LITERAL("debugstats", kColorFrame);
 
 
 //			m_needPresent = true;
 //			m_needPresent = true;
 			TextVideoMem& tvm = m_textVideoMem;
 			TextVideoMem& tvm = m_textVideoMem;
@@ -6871,7 +6871,7 @@ namespace bgfx { namespace d3d12
 		}
 		}
 		else if (_render->m_debug & BGFX_DEBUG_TEXT)
 		else if (_render->m_debug & BGFX_DEBUG_TEXT)
 		{
 		{
-			BGFX_D3D12_PROFILER_BEGIN_LITERAL(debugtext, kColorFrame);
+			BGFX_D3D12_PROFILER_BEGIN_LITERAL("debugtext", kColorFrame);
 
 
 			blit(this, _textVideoMemBlitter, _render->m_textVideoMem);
 			blit(this, _textVideoMemBlitter, _render->m_textVideoMem);
 
 

+ 3 - 3
src/renderer_d3d9.cpp

@@ -3716,7 +3716,7 @@ namespace bgfx { namespace d3d9
 
 
 		updateResolution(_render->m_resolution);
 		updateResolution(_render->m_resolution);
 
 
-		BGFX_D3D9_PROFILER_BEGIN_LITERAL(rendererSubmit, kColorView);
+		BGFX_D3D9_PROFILER_BEGIN_LITERAL("rendererSubmit", kColorView);
 
 
 		int64_t timeBegin = bx::getHPCounter();
 		int64_t timeBegin = bx::getHPCounter();
 		int64_t captureElapsed = 0;
 		int64_t captureElapsed = 0;
@@ -4427,7 +4427,7 @@ namespace bgfx { namespace d3d9
 
 
 		if (_render->m_debug & (BGFX_DEBUG_IFH|BGFX_DEBUG_STATS) )
 		if (_render->m_debug & (BGFX_DEBUG_IFH|BGFX_DEBUG_STATS) )
 		{
 		{
-			BGFX_D3D9_PROFILER_BEGIN_LITERAL(debugstats, kColorFrame);
+			BGFX_D3D9_PROFILER_BEGIN_LITERAL("debugstats", kColorFrame);
 
 
 			m_needPresent = true;
 			m_needPresent = true;
 			TextVideoMem& tvm = m_textVideoMem;
 			TextVideoMem& tvm = m_textVideoMem;
@@ -4529,7 +4529,7 @@ namespace bgfx { namespace d3d9
 		}
 		}
 		else if (_render->m_debug & BGFX_DEBUG_TEXT)
 		else if (_render->m_debug & BGFX_DEBUG_TEXT)
 		{
 		{
-			BGFX_D3D9_PROFILER_BEGIN_LITERAL(debugtext, kColorFrame);
+			BGFX_D3D9_PROFILER_BEGIN_LITERAL("debugtext", kColorFrame);
 
 
 			blit(this, _textVideoMemBlitter, _render->m_textVideoMem);
 			blit(this, _textVideoMemBlitter, _render->m_textVideoMem);
 
 

+ 3 - 3
src/renderer_gl.cpp

@@ -6826,7 +6826,7 @@ namespace bgfx { namespace gl
 
 
 		m_glctx.makeCurrent(NULL);
 		m_glctx.makeCurrent(NULL);
 
 
-		BGFX_GL_PROFILER_BEGIN_LITERAL(rendererSubmit, kColorView);
+		BGFX_GL_PROFILER_BEGIN_LITERAL("rendererSubmit", kColorView);
 
 
 		if (1 < m_numWindows
 		if (1 < m_numWindows
 		&&  m_vaoSupport)
 		&&  m_vaoSupport)
@@ -7970,7 +7970,7 @@ namespace bgfx { namespace gl
 
 
 		if (_render->m_debug & (BGFX_DEBUG_IFH|BGFX_DEBUG_STATS) )
 		if (_render->m_debug & (BGFX_DEBUG_IFH|BGFX_DEBUG_STATS) )
 		{
 		{
-			BGFX_GL_PROFILER_BEGIN_LITERAL(debugstats, kColorFrame);
+			BGFX_GL_PROFILER_BEGIN_LITERAL("debugstats", kColorFrame);
 
 
 			m_needPresent = true;
 			m_needPresent = true;
 			TextVideoMem& tvm = m_textVideoMem;
 			TextVideoMem& tvm = m_textVideoMem;
@@ -8145,7 +8145,7 @@ namespace bgfx { namespace gl
 		}
 		}
 		else if (_render->m_debug & BGFX_DEBUG_TEXT)
 		else if (_render->m_debug & BGFX_DEBUG_TEXT)
 		{
 		{
-			BGFX_GL_PROFILER_BEGIN_LITERAL(debugtext, kColorFrame);
+			BGFX_GL_PROFILER_BEGIN_LITERAL("debugtext", kColorFrame);
 
 
 			blit(this, _textVideoMemBlitter, _render->m_textVideoMem);
 			blit(this, _textVideoMemBlitter, _render->m_textVideoMem);
 
 

+ 1 - 1
src/renderer_mtl.mm

@@ -3654,7 +3654,7 @@ namespace bgfx { namespace mtl
 			m_commandBuffer = m_cmd.alloc();
 			m_commandBuffer = m_cmd.alloc();
 		}
 		}
 
 
-		BGFX_MTL_PROFILER_BEGIN_LITERAL(rendererSubmit, kColorFrame);
+		BGFX_MTL_PROFILER_BEGIN_LITERAL("rendererSubmit", kColorFrame);
 
 
 		int64_t timeBegin = bx::getHPCounter();
 		int64_t timeBegin = bx::getHPCounter();
 		int64_t captureElapsed = 0;
 		int64_t captureElapsed = 0;