diff options
author | Brian Paul <[email protected]> | 2008-11-24 17:18:56 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-11-24 17:18:56 -0700 |
commit | 8d95e66cf78921cd067c4bcf6a1053a7ec3a2ed4 (patch) | |
tree | e0353699e7ce0f65167d0d89a94621a220220d2b /src/mesa/shader/slang/slang_print.c | |
parent | 0fab514ff5e7887767936427b5e02b676abebf3a (diff) |
mesa: added support for GLSL 1.20 array.length() method
This is the only method supported in GLSL 1.20 so we take a few short-cuts.
Diffstat (limited to 'src/mesa/shader/slang/slang_print.c')
-rw-r--r-- | src/mesa/shader/slang/slang_print.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_print.c b/src/mesa/shader/slang/slang_print.c index b88cefc283b..1194d0b4b99 100644 --- a/src/mesa/shader/slang/slang_print.c +++ b/src/mesa/shader/slang/slang_print.c @@ -653,6 +653,11 @@ slang_print_tree(const slang_operation *op, int indent) printf(")\n"); break; + case SLANG_OPER_METHOD: + spaces(indent); + printf("METHOD CALL %s.%s\n", (char *) op->a_obj, (char *) op->a_id); + break; + case SLANG_OPER_FIELD: spaces(indent); printf("FIELD %s of\n", (char*) op->a_id); |