summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-03-04 01:10:44 -0800
committerVinson Lee <[email protected]>2010-03-04 01:10:44 -0800
commit0dd40cc20af78146c1d1d3ad1df0652b7cedc078 (patch)
tree7461ec4431c3d19d3358769790c920e711b64ae2 /src/mesa/shader
parent3c90777fd7cce57486dc7d98e676ffe9dede55ae (diff)
glsl: Remove unsigned greater than or equal zero comparison.
Diffstat (limited to 'src/mesa/shader')
-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 809355c56c9..96acad1f734 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 &&