z test patch

This commit is contained in:
h4570
2022-08-14 18:05:57 +02:00
parent a9c91db594
commit 15391a81e0
51 changed files with 197 additions and 163 deletions
@@ -12,6 +12,7 @@
#include "renderer/renderer_settings.hpp"
#include "./renderer_core_gs_vram.hpp"
#include "../renderer_core_sync.hpp"
namespace Tyra {
@@ -27,10 +28,6 @@ class RendererCoreGS {
void flipBuffers();
void setStandardZTest();
void setAllPassZTest();
private:
constexpr static float gsCenter = 4096.0F;
constexpr static float screenCenter = gsCenter / 2.0F;
@@ -48,7 +45,6 @@ class RendererCoreGS {
void updateCurrentField();
qword_t* setXYOffset(qword_t* q, const int& drawContext, const float& x,
const float& y);
qword_t* addAllPassZTest(qword_t* q, int context, zbuffer_t* z);
};
} // namespace Tyra