summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@vmware.com>2009-01-13 23:59:18 +0000
committerAlan Hourihane <alanh@vmware.com>2009-01-13 23:59:18 +0000
commit67c7f94a212864bf1d46e521e98638c3e5a83d4c (patch)
tree42bb231c20e22afee43e2ed28cc64cc14cee2fd7
parent8373347c051b68784b464c85fd3458f2d50df415 (diff)
glsl: fix a comment typo
-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 f5bd3412dd..dbd623250d 100644
--- a/src/mesa/shader/slang/slang_codegen.c
+++ b/src/mesa/shader/slang/slang_codegen.c
@@ -4294,7 +4294,7 @@ _slang_codegen_global_variable(slang_assemble_ctx *A, slang_variable *var,
* additional samplers to ensure we don't allocate them elsewhere.
* We can't directly use _mesa_add_sampler() as that checks the
* varName and gets a match, so we call _mesa_add_parameter()
- * directly and use the last sampler number for the call above.
+ * directly and use the last sampler number from the call above.
*/
if (arrayLen > 0) {
GLint a = arrayLen - 1;