summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/maxwell_3d.h
diff options
context:
space:
mode:
authorFernandoS27 <fsahmkow27@gmail.com>2018-10-16 03:04:20 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2018-10-18 00:52:08 +0200
commitfd9e2d0073be84deff02a122d5db8d2917309a61 (patch)
tree1308b6b6f1c99169d22bb3ca963ce8a6104c557b /src/video_core/engines/maxwell_3d.h
parentMerge pull request #1497 from bunnei/flush-framebuffers (diff)
downloadyuzu-fd9e2d0073be84deff02a122d5db8d2917309a61.tar
yuzu-fd9e2d0073be84deff02a122d5db8d2917309a61.tar.gz
yuzu-fd9e2d0073be84deff02a122d5db8d2917309a61.tar.bz2
yuzu-fd9e2d0073be84deff02a122d5db8d2917309a61.tar.lz
yuzu-fd9e2d0073be84deff02a122d5db8d2917309a61.tar.xz
yuzu-fd9e2d0073be84deff02a122d5db8d2917309a61.tar.zst
yuzu-fd9e2d0073be84deff02a122d5db8d2917309a61.zip
Diffstat (limited to 'src/video_core/engines/maxwell_3d.h')
-rw-r--r--src/video_core/engines/maxwell_3d.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index c8d1b6478..c8af1c6b6 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -448,7 +448,10 @@ public:
BitField<8, 3, u32> block_depth;
BitField<12, 1, InvMemoryLayout> type;
} memory_layout;
- u32 array_mode;
+ union {
+ BitField<0, 16, u32> array_mode;
+ BitField<16, 1, u32> volume;
+ };
u32 layer_stride;
u32 base_layer;
INSERT_PADDING_WORDS(7);