mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-26 03:30:22 +01:00
i965: Don't try to disable render aux buffers for compute
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104546 Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Signed-off-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
parent
4064fe59e7
commit
ec4bb693a0
1 changed files with 4 additions and 2 deletions
|
|
@ -482,8 +482,10 @@ brw_predraw_resolve_inputs(struct brw_context *brw, bool rendering)
|
|||
tex_obj = intel_texture_object(u->TexObj);
|
||||
|
||||
if (tex_obj && tex_obj->mt) {
|
||||
intel_disable_rb_aux_buffer(brw, tex_obj->mt, 0, ~0,
|
||||
"as a shader image");
|
||||
if (rendering) {
|
||||
intel_disable_rb_aux_buffer(brw, tex_obj->mt, 0, ~0,
|
||||
"as a shader image");
|
||||
}
|
||||
|
||||
intel_miptree_prepare_image(brw, tex_obj->mt);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue