Бранимир Караџић 1 year ago
parent
commit
69acf28813

+ 0 - 16
examples/common/entry/entry_sdl.cpp

@@ -133,22 +133,6 @@ namespace entry
 		return GamepadAxis::Enum(s_translateGamepadAxis[_sdl]);
 		return GamepadAxis::Enum(s_translateGamepadAxis[_sdl]);
 	}
 	}
 
 
-	struct AxisDpadRemap
-	{
-		Key::Enum first;
-		Key::Enum second;
-	};
-
-	static AxisDpadRemap s_axisDpad[] =
-	{
-		{ Key::GamepadLeft, Key::GamepadRight },
-		{ Key::GamepadUp,   Key::GamepadDown  },
-		{ Key::None,        Key::None         },
-		{ Key::GamepadLeft, Key::GamepadRight },
-		{ Key::GamepadUp,   Key::GamepadDown  },
-		{ Key::None,        Key::None         },
-	};
-
 	struct GamepadSDL
 	struct GamepadSDL
 	{
 	{
 		GamepadSDL()
 		GamepadSDL()

+ 0 - 1
src/renderer_d3d11.cpp

@@ -6622,7 +6622,6 @@ namespace bgfx { namespace d3d11
 				}
 				}
 
 
 				tvm.printf(10, pos++, 0x8b, "      Indices: %7d ", statsNumIndices);
 				tvm.printf(10, pos++, 0x8b, "      Indices: %7d ", statsNumIndices);
-//				tvm.printf(10, pos++, 0x8b, " Uniform size: %7d, Max: %7d ", _render->m_uniformEnd, _render->m_uniformMax);
 				tvm.printf(10, pos++, 0x8b, "     DVB size: %7d ", _render->m_vboffset);
 				tvm.printf(10, pos++, 0x8b, "     DVB size: %7d ", _render->m_vboffset);
 				tvm.printf(10, pos++, 0x8b, "     DIB size: %7d ", _render->m_iboffset);
 				tvm.printf(10, pos++, 0x8b, "     DIB size: %7d ", _render->m_iboffset);
 
 

+ 0 - 1
src/renderer_d3d12.cpp

@@ -7391,7 +7391,6 @@ namespace bgfx { namespace d3d12
 				}
 				}
 
 
 				tvm.printf(10, pos++, 0x8b, "      Indices: %7d ", statsNumIndices);
 				tvm.printf(10, pos++, 0x8b, "      Indices: %7d ", statsNumIndices);
-//				tvm.printf(10, pos++, 0x8b, " Uniform size: %7d, Max: %7d ", _render->m_uniformEnd, _render->m_uniformMax);
 				tvm.printf(10, pos++, 0x8b, "     DVB size: %7d ", _render->m_vboffset);
 				tvm.printf(10, pos++, 0x8b, "     DVB size: %7d ", _render->m_vboffset);
 				tvm.printf(10, pos++, 0x8b, "     DIB size: %7d ", _render->m_iboffset);
 				tvm.printf(10, pos++, 0x8b, "     DIB size: %7d ", _render->m_iboffset);
 
 

+ 0 - 1
src/renderer_gl.cpp

@@ -8711,7 +8711,6 @@ namespace bgfx { namespace gl
 				}
 				}
 
 
 				tvm.printf(10, pos++, 0x8b, "      Indices: %7d ", statsNumIndices);
 				tvm.printf(10, pos++, 0x8b, "      Indices: %7d ", statsNumIndices);
-//				tvm.printf(10, pos++, 0x8b, " Uniform size: %7d, Max: %7d ", _render->m_uniformEnd, _render->m_uniformMax);
 				tvm.printf(10, pos++, 0x8b, "     DVB size: %7d ", _render->m_vboffset);
 				tvm.printf(10, pos++, 0x8b, "     DVB size: %7d ", _render->m_vboffset);
 				tvm.printf(10, pos++, 0x8b, "     DIB size: %7d ", _render->m_iboffset);
 				tvm.printf(10, pos++, 0x8b, "     DIB size: %7d ", _render->m_iboffset);
 
 

+ 0 - 1
src/renderer_mtl.mm

@@ -5444,7 +5444,6 @@ BX_STATIC_ASSERT(BX_COUNTOF(s_accessNames) == Access::Count, "Invalid s_accessNa
 				}
 				}
 
 
 				tvm.printf(10, pos++, 0x8b, "      Indices: %7d ", statsNumIndices);
 				tvm.printf(10, pos++, 0x8b, "      Indices: %7d ", statsNumIndices);
-//				tvm.printf(10, pos++, 0x8b, " Uniform size: %7d, Max: %7d ", _render->m_uniformEnd, _render->m_uniformMax);
 				tvm.printf(10, pos++, 0x8b, "     DVB size: %7d ", _render->m_vboffset);
 				tvm.printf(10, pos++, 0x8b, "     DVB size: %7d ", _render->m_vboffset);
 				tvm.printf(10, pos++, 0x8b, "     DIB size: %7d ", _render->m_iboffset);
 				tvm.printf(10, pos++, 0x8b, "     DIB size: %7d ", _render->m_iboffset);
 
 

+ 0 - 10
src/renderer_vk.cpp

@@ -2800,13 +2800,6 @@ VK_IMPORT_DEVICE
 				return suspended;
 				return suspended;
 			}
 			}
 
 
-			//BX_TRACE("updateResolution(%d, %d) m_resolution=(%d, %d)"
-			//	, _resolution.width
-			//	, _resolution.height
-			//	, m_resolution.width
-			//	, m_resolution.height
-			//	);
-
 			uint32_t flags = _resolution.reset & ~(0
 			uint32_t flags = _resolution.reset & ~(0
 				| BGFX_RESET_SUSPEND
 				| BGFX_RESET_SUSPEND
 				| BGFX_RESET_MAXANISOTROPY
 				| BGFX_RESET_MAXANISOTROPY
@@ -5136,8 +5129,6 @@ VK_DESTROY
 		smci.codeSize = m_code->size;
 		smci.codeSize = m_code->size;
 		smci.pCode    = (const uint32_t*)m_code->data;
 		smci.pCode    = (const uint32_t*)m_code->data;
 
 
-//		disassemble(bx::getDebugOut(), m_code->data, m_code->size);
-
 		VK_CHECK(vkCreateShaderModule(
 		VK_CHECK(vkCreateShaderModule(
 			  s_renderVK->m_device
 			  s_renderVK->m_device
 			, &smci
 			, &smci
@@ -9438,7 +9429,6 @@ VK_DESTROY
 				}
 				}
 
 
 				tvm.printf(10, pos++, 0x8b, "      Indices: %7d ", statsNumIndices);
 				tvm.printf(10, pos++, 0x8b, "      Indices: %7d ", statsNumIndices);
-//				tvm.printf(10, pos++, 0x8b, " Uniform size: %7d, Max: %7d ", _render->m_uniformEnd, _render->m_uniformMax);
 				tvm.printf(10, pos++, 0x8b, "     DVB size: %7d ", _render->m_vboffset);
 				tvm.printf(10, pos++, 0x8b, "     DVB size: %7d ", _render->m_vboffset);
 				tvm.printf(10, pos++, 0x8b, "     DIB size: %7d ", _render->m_iboffset);
 				tvm.printf(10, pos++, 0x8b, "     DIB size: %7d ", _render->m_iboffset);