Mesa (gallium-0.2): glsl: fix a comment typo

Alan Hourihane alanh at kemper.freedesktop.org
Tue Jan 13 23:59:34 UTC 2009


Module: Mesa
Branch: gallium-0.2
Commit: 67c7f94a212864bf1d46e521e98638c3e5a83d4c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=67c7f94a212864bf1d46e521e98638c3e5a83d4c

Author: Alan Hourihane <alanh at vmware.com>
Date:   Tue Jan 13 23:59:18 2009 +0000

glsl: fix a comment typo

---

 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 f5bd341..dbd6232 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;




More information about the mesa-commit mailing list