mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
GPU: Added Z buffer registers to Maxwell3D's reg structure.
This commit is contained in:
parent
21d9519032
commit
7a27a11770
|
@ -83,7 +83,22 @@ public:
|
||||||
}
|
}
|
||||||
} rt[NumRenderTargets];
|
} rt[NumRenderTargets];
|
||||||
|
|
||||||
INSERT_PADDING_WORDS(0x207);
|
INSERT_PADDING_WORDS(0x178);
|
||||||
|
|
||||||
|
struct {
|
||||||
|
u32 address_high;
|
||||||
|
u32 address_low;
|
||||||
|
u32 format;
|
||||||
|
u32 block_dimensions;
|
||||||
|
u32 layer_stride;
|
||||||
|
|
||||||
|
GPUVAddr Address() const {
|
||||||
|
return static_cast<GPUVAddr>((static_cast<GPUVAddr>(address_high) << 32) |
|
||||||
|
address_low);
|
||||||
|
}
|
||||||
|
} zeta;
|
||||||
|
|
||||||
|
INSERT_PADDING_WORDS(0x8A);
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
union {
|
union {
|
||||||
|
@ -321,6 +336,7 @@ private:
|
||||||
"Field " #field_name " has invalid position")
|
"Field " #field_name " has invalid position")
|
||||||
|
|
||||||
ASSERT_REG_POSITION(rt, 0x200);
|
ASSERT_REG_POSITION(rt, 0x200);
|
||||||
|
ASSERT_REG_POSITION(zeta, 0x3F8);
|
||||||
ASSERT_REG_POSITION(rt_control, 0x487);
|
ASSERT_REG_POSITION(rt_control, 0x487);
|
||||||
ASSERT_REG_POSITION(tsc, 0x557);
|
ASSERT_REG_POSITION(tsc, 0x557);
|
||||||
ASSERT_REG_POSITION(tic, 0x55D);
|
ASSERT_REG_POSITION(tic, 0x55D);
|
||||||
|
|
Loading…
Reference in a new issue