Generalize/improve parsing of pointer declarations.

Substantial improvements and generalizations to the parsing and
declaration handling code to properly parse declarations involving
pointers.  (No change to user-visible functionality, but this
lays groundwork for supporting a more general pointer model.)
This commit is contained in:
Matt Pharr
2011-11-07 17:46:59 -08:00
parent 79684a0bed
commit 7290f7b16b
12 changed files with 511 additions and 370 deletions

View File

@@ -5,6 +5,6 @@ export uniform int width() { return programCount; }
export void f_v(uniform float RET[]) { RET[programIndex] = 1.; }
export void f_v(uniform float RET[]) { RET[programIndex] = 2.; }
export result(uniform float RET[]) {
export void result(uniform float RET[]) {
RET[programIndex] = 1.000000;
}