aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-10-18 11:50:42 -0400
committerGitHub <noreply@github.com>2018-10-18 11:50:42 -0400
commit6acd8d166a32439af54692742bc8e545e12724c8 (patch)
treeeeb414982b5bde413469137d7613849db62fc6c0 /src/video_core/engines
parent7dee60d7d24dabcc2c52c8c2135f1c89adb57ff6 (diff)
parentcaaa9914fd359464a3c54c27ea275130c1778d0f (diff)
Merge pull request #1505 from FernandoS27/tex-3d
Implemented 3D Textures
Diffstat (limited to 'src/video_core/engines')
-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);