summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-03-04 01:10:44 -0800
committerVinson Lee <vlee@vmware.com>2010-03-04 01:10:44 -0800
commit0dd40cc20af78146c1d1d3ad1df0652b7cedc078 (patch)
tree7461ec4431c3d19d3358769790c920e711b64ae2 /src
parent3c90777fd7cce57486dc7d98e676ffe9dede55ae (diff)
glsl: Remove unsigned greater than or equal zero comparison.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/slang/slang_codegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c
index 809355c56c..96acad1f73 100644
--- a/src/mesa/shader/slang/slang_codegen.c
+++ b/src/mesa/shader/slang/slang_codegen.c
@@ -1754,7 +1754,7 @@ swizzle_to_writemask(slang_assemble_ctx *A, GLuint swizzle,
/* end */
break;
}
- assert(swz >= 0 && swz <= 3);
+ assert(swz <= 3);
if (swizzle != SWIZZLE_XXXX &&
swizzle != SWIZZLE_YYYY &&