diff options
author | Kenneth Graunke <[email protected]> | 2019-06-21 18:04:52 -0500 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-06-21 20:50:42 -0500 |
commit | 5da37a826b873bc1bc0623ddad1814dd646e3226 (patch) | |
tree | 46575d26eb35ff12266dafad028242e981636994 /src/gallium/drivers/iris | |
parent | 4449572c47c04e3974a30677259ff791b351a7ca (diff) |
Revert "iris: Don't check VF address high bits when there is no buffer."
This reverts commit db8f57a5cb4ab8e1ad789793678797c04e95de21.
This is bonkers. There will always be a BO.
Diffstat (limited to 'src/gallium/drivers/iris')
-rw-r--r-- | src/gallium/drivers/iris/iris_blorp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_blorp.c b/src/gallium/drivers/iris/iris_blorp.c index ede679e731a..209940e9bc7 100644 --- a/src/gallium/drivers/iris/iris_blorp.c +++ b/src/gallium/drivers/iris/iris_blorp.c @@ -212,7 +212,7 @@ blorp_vf_invalidate_for_vb_48b_transitions(struct blorp_batch *blorp_batch, struct iris_bo *bo = addrs[i].buffer; uint16_t high_bits = bo ? bo->gtt_offset >> 32u : 0; - if (bo && high_bits != ice->state.last_vbo_high_bits[i]) { + if (high_bits != ice->state.last_vbo_high_bits[i]) { need_invalidate = true; ice->state.last_vbo_high_bits[i] = high_bits; } |