aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorFernandoS27 <fsahmkow27@gmail.com>2018-10-15 21:04:20 -0400
committerFernandoS27 <fsahmkow27@gmail.com>2018-10-17 18:52:08 -0400
commitfd9e2d0073be84deff02a122d5db8d2917309a61 (patch)
tree1308b6b6f1c99169d22bb3ca963ce8a6104c557b /src/video_core/engines
parentf912a82a8efe9a699fef74acb0db9f1779295c32 (diff)
Implement 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);