summaryrefslogtreecommitdiff
path: root/src/core/hw/gpu.h
diff options
context:
space:
mode:
authorGravatar bunnei2015-02-26 22:40:27 -0500
committerGravatar bunnei2015-02-26 22:40:27 -0500
commitc9ef377afaa038797de6c08da9f204acf67ed1fc (patch)
treeab2c741325e2e81e4352b4934972151fceae8d5e /src/core/hw/gpu.h
parentMerge pull request #614 from lioncash/mcr (diff)
parentGPU: Implemented bits 3 and 1 from the display transfer flags. (diff)
downloadyuzu-c9ef377afaa038797de6c08da9f204acf67ed1fc.tar.gz
yuzu-c9ef377afaa038797de6c08da9f204acf67ed1fc.tar.xz
yuzu-c9ef377afaa038797de6c08da9f204acf67ed1fc.zip
Merge pull request #599 from Subv/morton
GPU: Implemented bits 3 and 1 from the display transfer flags.
Diffstat (limited to 'src/core/hw/gpu.h')
-rw-r--r--src/core/hw/gpu.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hw/gpu.h b/src/core/hw/gpu.h
index 75f524465..ab1dcf91d 100644
--- a/src/core/hw/gpu.h
+++ b/src/core/hw/gpu.h
@@ -192,12 +192,13 @@ struct Regs {
192 u32 flags; 192 u32 flags;
193 193
194 BitField< 0, 1, u32> flip_data; // flips input data horizontally (TODO) if true 194 BitField< 0, 1, u32> flip_data; // flips input data horizontally (TODO) if true
195 BitField< 1, 1, u32> output_tiled; // Converts from linear to tiled format
196 BitField< 3, 1, u32> raw_copy; // Copies the data without performing any processing
195 BitField< 8, 3, PixelFormat> input_format; 197 BitField< 8, 3, PixelFormat> input_format;
196 BitField<12, 3, PixelFormat> output_format; 198 BitField<12, 3, PixelFormat> output_format;
197 BitField<16, 1, u32> output_tiled; // stores output in a tiled format
198 199
199 // TODO: Not really sure if this actually scales, or even resizes at all.
200 BitField<24, 1, u32> scale_horizontally; 200 BitField<24, 1, u32> scale_horizontally;
201 BitField<25, 1, u32> scale_vertically;
201 }; 202 };
202 203
203 INSERT_PADDING_WORDS(0x1); 204 INSERT_PADDING_WORDS(0x1);