diff options
author | Eric Anholt <[email protected]> | 2013-06-19 14:26:50 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-06-26 01:07:11 -0700 |
commit | 820325b258b6531377ec34840193c64bfa10fc36 (patch) | |
tree | bb58e0e1fd2389d5746a4bb58077170a7bc2cfc6 | |
parent | c20f973c4f8fa2c275e445b5da8deefcba874d2e (diff) |
i965: Drop unused argument to translate_tex_format().
Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_state.h | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/gen7_wm_surface_state.c | 1 |
3 files changed, 0 insertions, 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); |