diff options
author | Jason Ekstrand <[email protected]> | 2018-01-22 23:40:48 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-01-24 19:05:36 -0800 |
commit | d38ec24f531fac0b53c406a09d17427309a3ffca (patch) | |
tree | e4b459382df05e6edc0150374bdd18189a8e017d /src/mesa/drivers/osmesa | |
parent | dfe02179055b2504303e23988ab3d446b40de05a (diff) |
i965/miptree: Add an aux_disabled parameter to render_aux_usage
Only one of the callers of intel_miptree_render_aux_usage actually took
brw->draw_aux_buffer_disabled into account. This was causing us to
ignore draw_aux_buffer_disabled for the intel_miptree_prepare_render.
This isn't a problem because the draw_aux_buffer_disabled entry was set
during texture preparation and we already did the resolve at that time.
However, this also meant that the aux_usage we were passing to
brw_cache_flush_for_render and brw_render_cache_add_bo was wrong so our
automatic cache flushing around aux_usage changes wasn't happening.
This was causing GPU hangs in Oxenfree.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104711
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104411
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104383
Fixes: ea0d2e98ecb369ab84e78c84709c0930ea8c293a
Cc: [email protected]
Reviewed-by: Iago Toral Quiroga <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/osmesa')
0 files changed, 0 insertions, 0 deletions