summaryrefslogtreecommitdiffstats
path: root/src/video_core/regs_rasterizer.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-05-16 19:00:37 +0200
committerGitHub <noreply@github.com>2017-05-16 19:00:37 +0200
commit8d558777a6484162b0cffe20b89bb486e88478a3 (patch)
tree0c5578f14ef73a191a5d492118018d6d9bff7389 /src/video_core/regs_rasterizer.h
parentMerge pull request #2687 from yuriks/address-mappings (diff)
parentpica: correct bit field length for some registers (diff)
downloadyuzu-8d558777a6484162b0cffe20b89bb486e88478a3.tar
yuzu-8d558777a6484162b0cffe20b89bb486e88478a3.tar.gz
yuzu-8d558777a6484162b0cffe20b89bb486e88478a3.tar.bz2
yuzu-8d558777a6484162b0cffe20b89bb486e88478a3.tar.lz
yuzu-8d558777a6484162b0cffe20b89bb486e88478a3.tar.xz
yuzu-8d558777a6484162b0cffe20b89bb486e88478a3.tar.zst
yuzu-8d558777a6484162b0cffe20b89bb486e88478a3.zip
Diffstat (limited to 'src/video_core/regs_rasterizer.h')
-rw-r--r--src/video_core/regs_rasterizer.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/video_core/regs_rasterizer.h b/src/video_core/regs_rasterizer.h
index a471a3b38..2874fd127 100644
--- a/src/video_core/regs_rasterizer.h
+++ b/src/video_core/regs_rasterizer.h
@@ -92,13 +92,13 @@ struct RasterizerRegs {
BitField<0, 2, ScissorMode> mode;
union {
- BitField<0, 16, u32> x1;
- BitField<16, 16, u32> y1;
+ BitField<0, 10, u32> x1;
+ BitField<16, 10, u32> y1;
};
union {
- BitField<0, 16, u32> x2;
- BitField<16, 16, u32> y2;
+ BitField<0, 10, u32> x2;
+ BitField<16, 10, u32> y2;
};
} scissor_test;