Mesa (master): mesa: fix typo in ATI_fs dstMod error checking
Marek Olšák
mareko at kemper.freedesktop.org
Mon Dec 25 13:37:29 UTC 2017
Module: Mesa
Branch: master
Commit: 8b3a519913fdd15970bb32786ebc8ae952bf3fa5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=8b3a519913fdd15970bb32786ebc8ae952bf3fa5
Author: Miklós Máté <mtmkls at gmail.com>
Date: Sat Dec 2 23:35:19 2017 +0100
mesa: fix typo in ATI_fs dstMod error checking
Piglit: spec/ati_fragment_shader/error14-invalidmod
Signed-off-by: Miklós Máté <mtmkls at gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
---
src/mesa/main/atifragshader.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/main/atifragshader.c b/src/mesa/main/atifragshader.c
index d61455e12f..5ddd83bec4 100644
--- a/src/mesa/main/atifragshader.c
+++ b/src/mesa/main/atifragshader.c
@@ -625,7 +625,7 @@ _mesa_FragmentOpXATI(GLint optype, GLuint arg_count, GLenum op, GLuint dst,
}
if ((modtemp != GL_NONE) && (modtemp != GL_2X_BIT_ATI) &&
(modtemp != GL_4X_BIT_ATI) && (modtemp != GL_8X_BIT_ATI) &&
- (modtemp != GL_HALF_BIT_ATI) && !(modtemp != GL_QUARTER_BIT_ATI) &&
+ (modtemp != GL_HALF_BIT_ATI) && (modtemp != GL_QUARTER_BIT_ATI) &&
(modtemp != GL_EIGHTH_BIT_ATI)) {
_mesa_error(ctx, GL_INVALID_ENUM, "C/AFragmentOpATI(dstMod)%x", modtemp);
return;
More information about the mesa-commit
mailing list