From 820325b258b6531377ec34840193c64bfa10fc36 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 19 Jun 2013 14:26:50 -0700 Subject: [PATCH] i965: Drop unused argument to translate_tex_format(). Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_state.h | 1 - src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 2 -- src/mesa/drivers/dri/i965/gen7_wm_surface_state.c | 1 - 3 files changed, 4 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_state.h b/src/mesa/drivers/dri/i965/brw_state.h index 60b81dcdc48..3ac65cf9871 100644 --- a/src/mesa/drivers/dri/i965/brw_state.h +++ b/src/mesa/drivers/dri/i965/brw_state.h @@ -180,7 +180,6 @@ GLuint translate_tex_target(GLenum target); GLuint translate_tex_format(struct intel_context *intel, gl_format mesa_format, - GLenum internal_format, GLenum depth_mode, GLenum srgb_decode); diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c index ceabedbe1b8..1642a58780d 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c @@ -735,7 +735,6 @@ brw_render_target_supported(struct intel_context *intel, GLuint translate_tex_format(struct intel_context *intel, gl_format mesa_format, - GLenum internal_format, GLenum depth_mode, GLenum srgb_decode) { @@ -980,7 +979,6 @@ brw_update_texture_surface(struct gl_context *ctx, BRW_SURFACE_CUBEFACE_ENABLES | (translate_tex_format(intel, mt->format, - firstImage->InternalFormat, tObj->DepthMode, sampler->sRGBDecode) << BRW_SURFACE_FORMAT_SHIFT)); 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 c2699ab817e..6d61b1f65f7 100644 --- a/src/mesa/drivers/dri/i965/gen7_wm_surface_state.c +++ b/src/mesa/drivers/dri/i965/gen7_wm_surface_state.c @@ -311,7 +311,6 @@ gen7_update_texture_surface(struct gl_context *ctx, uint32_t tex_format = translate_tex_format(intel, mt->format, - firstImage->InternalFormat, tObj->DepthMode, sampler->sRGBDecode); -- 2.30.2