From 39adeef2e362b4a3c9b1ffd9319c6c5a107e75ec Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Sun, 20 Oct 2013 01:59:42 -0700 Subject: [PATCH] Hiding vertex/index data for now. --- src/xenia/gpu/d3d11/d3d11_graphics_driver.cc | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/xenia/gpu/d3d11/d3d11_graphics_driver.cc b/src/xenia/gpu/d3d11/d3d11_graphics_driver.cc index 6c6c810bd..248498f21 100644 --- a/src/xenia/gpu/d3d11/d3d11_graphics_driver.cc +++ b/src/xenia/gpu/d3d11/d3d11_graphics_driver.cc @@ -423,12 +423,11 @@ int D3D11GraphicsDriver::PrepareVertexFetcher( uint32_t* src = (uint32_t*)xe_memory_addr(memory_, address); uint32_t* dest = (uint32_t*)res.pData; for (uint32_t n = 0; n < size_dwords; n++) { - union { - uint32_t i; - float f; - } d = {XESWAP32(src[n])}; - XELOGGPU("v%.3d %0.8X %g", n, d.i, d.f); - + // union { + // uint32_t i; + // float f; + // } d = {XESWAP32(src[n])}; + // XELOGGPU("v%.3d %0.8X %g", n, d.i, d.f); dest[n] = XESWAP32(src[n]); } context_->Unmap(buffer, 0); @@ -486,7 +485,7 @@ int D3D11GraphicsDriver::PrepareIndexBuffer( uint32_t* dest = (uint32_t*)res.pData; for (uint32_t n = 0; n < index_count; n++) { uint32_t d = { XESWAP32(src[n]) }; - XELOGGPU("i%.4d %0.8X", n, d); + //XELOGGPU("i%.4d %0.8X", n, d); dest[n] = d; } } else { @@ -494,7 +493,7 @@ int D3D11GraphicsDriver::PrepareIndexBuffer( uint16_t* dest = (uint16_t*)res.pData; for (uint32_t n = 0; n < index_count; n++) { uint16_t d = XESWAP16(src[n]); - XELOGGPU("i%.4d, %.4X", n, d); + //XELOGGPU("i%.4d, %.4X", n, d); dest[n] = d; } }