diff options
author | James Legg <[email protected]> | 2018-02-22 16:57:53 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2018-03-20 16:57:24 +0000 |
commit | 046145ae81c546e1410d9077700aebbbceb7b029 (patch) | |
tree | dcdcce20e32c1b246287920e70b471c40d096b1c /doxygen/glapi.doxy | |
parent | bb51eb535566914124015c7a332ac5de42418f11 (diff) |
radv: Really use correct HTILE expanded words.
When transitioning to an htile compressed depth format, Set the full
depth range, so later rasterization can pass HiZ. Previously, for depth
only formats, the depth range was set to 0 to 0. This caused unwanted
HiZ rejections with a VK_FORMAT_D16_UNORM depth buffer
(VK_FORMAT_D32_SFLOAT was not affected somehow).
These values are derived from PAL [0], since I can't find the
specification describing the htile values.
[0] https://github.com/GPUOpen-Drivers/pal/blob/5cba4ecbda9452773f59692f5915301e7db4a183/src/core/hw/gfxip/gfx9/gfx9MaskRam.cpp#L1500
CC: Dave Airlie <[email protected]>
CC: Bas Nieuwenhuizen <[email protected]>
CC: [email protected]
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Tested-by: Grazvydas Ignotas <[email protected]>
Fixes: 5158603182fe7435 "radv: Use correct HTILE expanded words."
(cherry picked from commit afd8fd0656a8eb3a2ce892381387aad3c6b0a78f)
Diffstat (limited to 'doxygen/glapi.doxy')
0 files changed, 0 insertions, 0 deletions