summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-11-17 04:41:40 +0100
committerLiam <byteslice@airmail.cc>2022-11-17 14:31:43 +0100
commit4c42655a2defddcd8faacaaa4e0bf109693b5a9c (patch)
tree5ec83147c52c4542066585c8936c88ef5ab6c51a /src/video_core/engines/maxwell_3d.h
parentmaxwell3d: HLE multi-layer clear macro (diff)
downloadyuzu-4c42655a2defddcd8faacaaa4e0bf109693b5a9c.tar
yuzu-4c42655a2defddcd8faacaaa4e0bf109693b5a9c.tar.gz
yuzu-4c42655a2defddcd8faacaaa4e0bf109693b5a9c.tar.bz2
yuzu-4c42655a2defddcd8faacaaa4e0bf109693b5a9c.tar.lz
yuzu-4c42655a2defddcd8faacaaa4e0bf109693b5a9c.tar.xz
yuzu-4c42655a2defddcd8faacaaa4e0bf109693b5a9c.tar.zst
yuzu-4c42655a2defddcd8faacaaa4e0bf109693b5a9c.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/engines/maxwell_3d.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index f9cdfbc0b..c3099f9a6 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -1129,7 +1129,6 @@ public:
Tegra::RenderTargetFormat format;
TileMode tile_mode;
union {
- u32 depth_volume;
BitField<0, 16, u32> depth;
BitField<16, 1, u32> volume;
};
@@ -3087,6 +3086,9 @@ public:
std::vector<u8> inline_index_draw_indexes;
+ /// Handles a write to the CLEAR_BUFFERS register.
+ void ProcessClearBuffers(u32 layer_count);
+
private:
void InitializeRegisterDefaults();
@@ -3121,9 +3123,6 @@ private:
/// Handles firmware blob 4
void ProcessFirmwareCall4();
- /// Handles a write to the CLEAR_BUFFERS register.
- void ProcessClearBuffers();
-
/// Handles a write to the QUERY_GET register.
void ProcessQueryGet();