diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2010-11-26 11:06:24 +1000 |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2010-11-26 11:19:11 +1000 |
commit | 04608e7011a59192dc512245e7ae4578c233242d (patch) | |
tree | 4c9c0998ddf287fbc3af8f77086306dbf7b979cf /src/libs/glsl/glsltype.h | |
parent | 8f40ac2f616ed12995aceaf77e96123d8205872c (diff) | |
download | qt-creator-04608e7011a59192dc512245e7ae4578c233242d.tar.gz |
Add support for GLSL array and index types.
Index types are arrays, matrices, and vectors, which can
all be "indexed" by operator[].
Diffstat (limited to 'src/libs/glsl/glsltype.h')
-rw-r--r-- | src/libs/glsl/glsltype.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/glsl/glsltype.h b/src/libs/glsl/glsltype.h index a1608b8ade..46ba3913ed 100644 --- a/src/libs/glsl/glsltype.h +++ b/src/libs/glsl/glsltype.h @@ -46,8 +46,10 @@ public: virtual const FloatType *asFloatType() const { return 0; } virtual const DoubleType *asDoubleType() const { return 0; } virtual const OpaqueType *asOpaqueType() const { return 0; } + virtual const IndexType *asIndexType() const { return 0; } virtual const VectorType *asVectorType() const { return 0; } virtual const MatrixType *asMatrixType() const { return 0; } + virtual const ArrayType *asArrayType() const { return 0; } virtual const Struct *asStructType() const { return 0; } virtual const Function *asFunctionType() const { return 0; } |