[D3D12] Apply half pixel offset through viewport, remove some 2560 references

This commit is contained in:
Triang3l
2020-05-11 20:37:02 +03:00
parent 6d0e4787fb
commit 4631b2b16c
2 changed files with 18 additions and 32 deletions

View File

@@ -1124,9 +1124,9 @@ bool CommandProcessor::ExecutePacketType3_EVENT_WRITE_EXT(RingBuffer* reader,
// https://www.google.com/patents/US20060055701
uint16_t extents[] = {
0 >> 3, // min x
2560 >> 3, // max x
8192 >> 3, // max x
0 >> 3, // min y
2560 >> 3, // max y
8192 >> 3, // max y
0, // min z
1, // max z
};