summaryrefslogtreecommitdiff
path: root/src/core/hw/gpu.h
diff options
context:
space:
mode:
authorGravatar Subv2015-03-08 12:05:17 -0500
committerGravatar Subv2015-03-09 20:12:39 -0500
commit414b0741c445a7960f9ad1ee4a5672f8af4760db (patch)
tree5218b976cf8e15e745a9cf6037a7c133b7559fed /src/core/hw/gpu.h
parentGPU/Textures: Fixed ETC texture decoding. (diff)
downloadyuzu-414b0741c445a7960f9ad1ee4a5672f8af4760db.tar.gz
yuzu-414b0741c445a7960f9ad1ee4a5672f8af4760db.tar.xz
yuzu-414b0741c445a7960f9ad1ee4a5672f8af4760db.zip
GPU: Implemented more depth buffer formats.
This fixes the horizontal lines in Picross E, Cubic Ninja, Cave Story 3D and possibly others
Diffstat (limited to 'src/core/hw/gpu.h')
-rw-r--r--src/core/hw/gpu.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hw/gpu.h b/src/core/hw/gpu.h
index 737b1e968..5ca4a5450 100644
--- a/src/core/hw/gpu.h
+++ b/src/core/hw/gpu.h
@@ -100,10 +100,10 @@ struct Regs {
100 // Set to 1 upon completion. 100 // Set to 1 upon completion.
101 BitField<0, 1, u32> finished; 101 BitField<0, 1, u32> finished;
102 102
103 // 0: fill with 16- or 32-bit wide values; 1: fill with 24-bit wide values 103 // If both of these bits are unset, then it will fill the memory with a 16 bit value
104 // 1: fill with 24-bit wide values
104 BitField<8, 1, u32> fill_24bit; 105 BitField<8, 1, u32> fill_24bit;
105 106 // 1: fill with 32-bit wide values
106 // 0: fill with 16-bit wide values; 1: fill with 32-bit wide values
107 BitField<9, 1, u32> fill_32bit; 107 BitField<9, 1, u32> fill_32bit;
108 }; 108 };
109 109