summaryrefslogtreecommitdiff
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorGravatar Feng Chen2023-03-15 21:17:44 +0800
committerGravatar Feng Chen2023-03-31 12:33:07 +0800
commitff2089fdf5c25e439099fed2a8bc5029aa7985eb (patch)
treeaf706722c8577d0ebbdd18bbf5859acf8d3dec52 /src/video_core/engines
parentvideo_core: Better defined ImageInfo parameters (diff)
downloadyuzu-ff2089fdf5c25e439099fed2a8bc5029aa7985eb.tar.gz
yuzu-ff2089fdf5c25e439099fed2a8bc5029aa7985eb.tar.xz
yuzu-ff2089fdf5c25e439099fed2a8bc5029aa7985eb.zip
video_core: Keep the definition of DimensionControl consistent with nvidia open doc
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/maxwell_3d.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.h
index c89969bb4..6c19354e1 100644
--- a/src/video_core/engines/maxwell_3d.h
+++ b/src/video_core/engines/maxwell_3d.h
@@ -856,8 +856,8 @@ public:
856 856
857 struct ZetaSize { 857 struct ZetaSize {
858 enum class DimensionControl : u32 { 858 enum class DimensionControl : u32 {
859 DepthDefinesArray = 0, 859 DefineArraySize = 0,
860 ArraySizeOne = 1, 860 ArraySizeIsOne = 1,
861 }; 861 };
862 862
863 u32 width; 863 u32 width;
@@ -1104,8 +1104,8 @@ public:
1104 1104
1105 struct TileMode { 1105 struct TileMode {
1106 enum class DimensionControl : u32 { 1106 enum class DimensionControl : u32 {
1107 DepthDefinesArray = 0, 1107 DefineArraySize = 0,
1108 DepthDefinesDepth = 1, 1108 DefineDepthSize = 1,
1109 }; 1109 };
1110 union { 1110 union {
1111 BitField<0, 4, u32> block_width; 1111 BitField<0, 4, u32> block_width;