From 2679e4f52622f666f3a0086f0c8e683bccfd775f Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Sun, 11 Oct 2015 19:57:03 +0200 Subject: [PATCH] remove rsxtransformconstant --- rpcs3/Emu/RSX/D3D12/D3D12GSRender.cpp | 1 - rpcs3/Emu/RSX/D3D12/D3D12GSRender.h | 2 -- rpcs3/Emu/RSX/RSXThread.h | 23 ----------------------- 3 files changed, 26 deletions(-) diff --git a/rpcs3/Emu/RSX/D3D12/D3D12GSRender.cpp b/rpcs3/Emu/RSX/D3D12/D3D12GSRender.cpp index f5f2d28224..5b667cd259 100644 --- a/rpcs3/Emu/RSX/D3D12/D3D12GSRender.cpp +++ b/rpcs3/Emu/RSX/D3D12/D3D12GSRender.cpp @@ -805,7 +805,6 @@ void D3D12GSRender::flip(int buffer) // Flush m_texturesRTTs.clear(); - m_vertexConstants.clear(); // Now get ready for next frame ResourceStorage &newStorage = getCurrentResourceStorage(); diff --git a/rpcs3/Emu/RSX/D3D12/D3D12GSRender.h b/rpcs3/Emu/RSX/D3D12/D3D12GSRender.h index f4a51e96d3..1127e8b6ae 100644 --- a/rpcs3/Emu/RSX/D3D12/D3D12GSRender.h +++ b/rpcs3/Emu/RSX/D3D12/D3D12GSRender.h @@ -452,8 +452,6 @@ public: u32 m_draw_frames; u32 m_skip_frames; - std::unordered_map m_vertexConstants; - D3D12GSRender(); virtual ~D3D12GSRender(); diff --git a/rpcs3/Emu/RSX/RSXThread.h b/rpcs3/Emu/RSX/RSXThread.h index d05d5d6332..51017a1b30 100644 --- a/rpcs3/Emu/RSX/RSXThread.h +++ b/rpcs3/Emu/RSX/RSXThread.h @@ -113,29 +113,6 @@ struct RSXIndexArrayData } }; -struct RSXTransformConstant -{ - u32 id; - float x, y, z, w; - - RSXTransformConstant() - : x(0.0f) - , y(0.0f) - , z(0.0f) - , w(0.0f) - { - } - - RSXTransformConstant(u32 id, float x, float y, float z, float w) - : id(id) - , x(x) - , y(y) - , z(z) - , w(w) - { - } -}; - class RSXThread : protected named_thread_t { protected: