Move UseVertexDepthRange() out of Renderer

There wasn't really a good place for it, but this will do
This commit is contained in:
Scott Mansell
2023-01-31 18:18:46 +13:00
parent 2cfc02a116
commit 5803786beb
5 changed files with 27 additions and 24 deletions

View File

@ -44,9 +44,13 @@ public:
// (i.e. VertexShaderManager::SetConstants needs to be called before using this!)
void TransformToClipSpace(const float* data, float* out, u32 mtxIdx);
static bool UseVertexDepthRange();
VertexShaderConstants constants{};
bool dirty = false;
private:
alignas(16) std::array<float, 16> m_projection_matrix;