mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 12:50:12 +01:00
iris: Disable predraw resolve (xe2)
Fixes piglit test: arb_texture_barrier-blending-in-shader 32 1 1 64 7 -auto -fbo src/intel/blorp/blorp_genX_exec.h:910: blorp_emit_ps_config: Assertion `!"" "Invalid fast clear op"' failed. Suggested by Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Jianxun Zhang <jianxun.zhang@intel.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29906>
This commit is contained in:
parent
dc26ad1e86
commit
3589035d61
1 changed files with 4 additions and 0 deletions
|
|
@ -258,6 +258,10 @@ iris_predraw_resolve_framebuffer(struct iris_context *ice,
|
|||
nir->info.outputs_read != 0)
|
||||
draw_aux_buffer_disabled[i] = true;
|
||||
|
||||
/* Xe2 can maintain compression if RT is bound as texture. */
|
||||
if (devinfo->ver >= 20)
|
||||
draw_aux_buffer_disabled[i] = false;
|
||||
|
||||
enum isl_aux_usage aux_usage =
|
||||
iris_resource_render_aux_usage(ice, res, surf->view.format,
|
||||
surf->view.base_level,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue