mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 07:30:09 +01:00
i965: Bump generation check in code to disable HiZ at LODs > 0.
Broadwell's "HiZ Resolve" operation still has the restriction that the rectangle primitive must be 8x4 aligned. So I believe we still need this. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
a5d2eb6b98
commit
577fdf1f48
1 changed files with 1 additions and 1 deletions
|
|
@ -1237,7 +1237,7 @@ intel_miptree_slice_enable_hiz(struct brw_context *brw,
|
|||
{
|
||||
assert(mt->hiz_mt);
|
||||
|
||||
if (brw->is_haswell) {
|
||||
if (brw->gen >= 8 || brw->is_haswell) {
|
||||
uint32_t width = minify(mt->physical_width0, level);
|
||||
uint32_t height = minify(mt->physical_height0, level);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue