diff options
author | Vinson Lee <vlee@vmware.com> | 2010-03-04 01:10:44 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-03-04 01:10:44 -0800 |
commit | 0dd40cc20af78146c1d1d3ad1df0652b7cedc078 (patch) | |
tree | 7461ec4431c3d19d3358769790c920e711b64ae2 /src | |
parent | 3c90777fd7cce57486dc7d98e676ffe9dede55ae (diff) |
glsl: Remove unsigned greater than or equal zero comparison.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/slang/slang_codegen.c | 2 |
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 && |