- moved VR code and IntRect to 'common'

This commit is contained in:
Christoph Oelckers 2020-04-26 10:26:29 +02:00
commit 686aa9779d
23 changed files with 108 additions and 85 deletions

View file

@ -3,6 +3,7 @@
#include "hwrenderer/data/shaderuniforms.h"
#include <memory>
#include <map>
#include "intrect.h"
struct PostProcessShader;
@ -777,15 +778,6 @@ struct ShadowMapUniforms
}
};
class PPShadowMap
{
public:
void Update(PPRenderState *renderstate);
private:
PPShader ShadowMap = { "shaders/glsl/shadowmap.fp", "", ShadowMapUniforms::Desc() };
};
class PPCustomShaderInstance
{
public:
@ -819,6 +811,18 @@ private:
std::vector<std::unique_ptr<PPCustomShaderInstance>> mShaders;
};
class PPShadowMap
{
public:
void Update(PPRenderState* renderstate);
private:
PPShader ShadowMap = { "shaders/glsl/shadowmap.fp", "", ShadowMapUniforms::Desc() };
};
/////////////////////////////////////////////////////////////////////////////
class Postprocess