aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-05-23 23:45:46 +0200
committerSamuel Pitoiset <[email protected]>2017-05-29 10:11:36 +0200
commitb12dfb1558aa9a5eb4d7cc280e7f423f1f1e9c66 (patch)
tree62030d206dde9bfee3160f2ca7035a9b3f46fc1e /src/mesa
parent5521dc2477f109d2fbe77c6c70be44974900d356 (diff)
mesa: remove unused layered parameter from validate_bind_image_texture()
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/shaderimage.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/shaderimage.c b/src/mesa/main/shaderimage.c
index 45b72c9b4ff..0b8cfe2468a 100644
--- a/src/mesa/main/shaderimage.c
+++ b/src/mesa/main/shaderimage.c
@@ -529,8 +529,8 @@ _mesa_is_image_unit_valid(struct gl_context *ctx, struct gl_image_unit *u)
static GLboolean
validate_bind_image_texture(struct gl_context *ctx, GLuint unit,
- GLuint texture, GLint level, GLboolean layered,
- GLint layer, GLenum access, GLenum format)
+ GLuint texture, GLint level, GLint layer,
+ GLenum access, GLenum format)
{
assert(ctx->Const.MaxImageUnits <= MAX_IMAGE_UNITS);
@@ -572,8 +572,8 @@ _mesa_BindImageTexture(GLuint unit, GLuint texture, GLint level,
GET_CURRENT_CONTEXT(ctx);
struct gl_image_unit *u;
- if (!validate_bind_image_texture(ctx, unit, texture, level,
- layered, layer, access, format))
+ if (!validate_bind_image_texture(ctx, unit, texture, level, layer, access,
+ format))
return;
u = &ctx->ImageUnits[unit];