From: Alejandro PiƱeiro Date: Sat, 5 Dec 2015 19:46:30 +0000 (+0100) Subject: i965: use _mesa_is_array_texture instead of _mesa_tex_target_is_array X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b16e0ff34e7824bb7f44e7afb78334fcfb0f7264;p=mesa.git i965: use _mesa_is_array_texture instead of _mesa_tex_target_is_array Both methods provide the same functionality, so one would be removed. v2: use _mesa_is_array_texture and not the other way (Brian Paul) Reviewed-by: Brian Paul --- diff --git a/src/mesa/drivers/dri/i965/gen7_wm_surface_state.c b/src/mesa/drivers/dri/i965/gen7_wm_surface_state.c index 2aa395b2a92..79182560a3d 100644 --- a/src/mesa/drivers/dri/i965/gen7_wm_surface_state.c +++ b/src/mesa/drivers/dri/i965/gen7_wm_surface_state.c @@ -500,7 +500,7 @@ gen7_update_renderbuffer_surface(struct brw_context *brw, /* fallthrough */ default: surftype = translate_tex_target(gl_target); - is_array = _mesa_tex_target_is_array(gl_target); + is_array = _mesa_is_array_texture(gl_target); break; } diff --git a/src/mesa/drivers/dri/i965/gen8_surface_state.c b/src/mesa/drivers/dri/i965/gen8_surface_state.c index 80252a50433..85e1285459c 100644 --- a/src/mesa/drivers/dri/i965/gen8_surface_state.c +++ b/src/mesa/drivers/dri/i965/gen8_surface_state.c @@ -452,7 +452,7 @@ gen8_update_renderbuffer_surface(struct brw_context *brw, /* fallthrough */ default: surf_type = translate_tex_target(gl_target); - is_array = _mesa_tex_target_is_array(gl_target); + is_array = _mesa_is_array_texture(gl_target); break; }