diff options
author | Topi Pohjolainen <[email protected]> | 2017-01-17 11:44:52 +0200 |
---|---|---|
committer | Topi Pohjolainen <[email protected]> | 2017-01-18 22:42:47 +0200 |
commit | e6da6943fed1228c551af1f0e1a405b6d67b41ae (patch) | |
tree | c540a53bba17d3e9f6cf35b18c8750dc68c77b40 /src/util/strtod.h | |
parent | 4840a53e902b0f2b9841d9dbb90e479a3688153d (diff) |
i965: Make depth clear flushing more explicit
Current blorp logic issues unconditional "flush everything"
(see brw_emit_mi_flush()) after each render. For example, all
blits issue this unconditionally which shouldn't be needed if
they set render cache properly so that subsequent renders do
necessary flushing before drawing.
In case of piglit:
ext_framebuffer_multisample-accuracy all_samples depth_draw small
intel_hiz_exec() is always preceded by blorb blit and the
unconditional flush looks to hide the lack of stall and flushes
in depth clears. By removing the brw_emit_mi_flush() I get gpu
hangs.
This patch adds the stalls and flushes mandated by the spec
and gets rid of those hangs.
v2 (Jason, Ken): Document the rational for separating
depth cache flush and stall on Gen7.
Signed-off-by: Topi Pohjolainen <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/util/strtod.h')
0 files changed, 0 insertions, 0 deletions