summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-03-09 00:42:54 -0800
committerKenneth Graunke <[email protected]>2019-03-11 15:04:08 -0700
commit9302414f8b0e4d767b6435290ddb8d349f3ab12f (patch)
treeed78f84e47b6962211d8176cec7165c4e87b9267 /include
parent076a7095bb46cd11ac1938be1652f5fdf862467b (diff)
iris: Move depth/stencil flushes so they actually do something
Commit d6dd57d43cd (iris: Add missing depth cache flushes) added the depth/stencil flushes to the wrong place. I meant to add them to the iris_upload_dirty_render_state code that emits the packets, but I accidentally added them to the nearly identical looking code in iris_restore_render_saved_bos. This meant we missed the actual flushing at draw time, but instead did pointless flushing on the first draw in a batch where things are already flushed anyway. This commit moves them to iris_resolve.c, next to the depth prepares, similar to what we do for color buffers. i965 does them elsewhere, but I'm not sure why - this seems like the most consistent place.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions