Skip to content
Snippets Groups Projects
Commit 7a27a117 authored by Subv's avatar Subv
Browse files

GPU: Added Z buffer registers to Maxwell3D's reg structure.

parent 21d95190
No related branches found
No related tags found
No related merge requests found
......@@ -83,7 +83,22 @@ public:
}
} 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 {
union {
......@@ -321,6 +336,7 @@ private:
"Field " #field_name " has invalid position")
ASSERT_REG_POSITION(rt, 0x200);
ASSERT_REG_POSITION(zeta, 0x3F8);
ASSERT_REG_POSITION(rt_control, 0x487);
ASSERT_REG_POSITION(tsc, 0x557);
ASSERT_REG_POSITION(tic, 0x55D);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment