Skip to content
Commit e7ddddc9 authored by Faith Ekstrand's avatar Faith Ekstrand Committed by Andres Gomez
Browse files

i965/miptree: Take an isl_format in render_aux_usage



Not all rendering matches the miptree format.  We allow rendering to
texture views so there are cases where it may not match.  In those
cases, our current scheme of just passing the value of ctx->sRGBEnabled
isn't viable.  Instead, just do what we do for texturing and pass the
view format in directly.

Reviewed-by: default avatarTopi Pohjolainen <topi.pohjolainen@intel.com>
Cc: mesa-stable@lists.freedesktop.org
(cherry picked from commit 39c5c12f)
[Andres Gomez: remove code which was trivially modified previously]
Signed-off-by: default avatarAndres Gomez <agomez@igalia.com>

Conflicts:
	src/mesa/drivers/dri/i965/brw_draw.c
	src/mesa/drivers/dri/i965/brw_wm_surface_state.c
parent 6dc8e69d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment