Re: [Mesa-dev] [PATCH 15/23] glsl/ast: Generalize some sampler variable restrictions to all opaque types.

2013-12-11 Thread Paul Berry
On 26 November 2013 00:02, Francisco Jerez curroje...@riseup.net wrote: No opaque types may be statically initialized in the shader, all opaque variables must be declared uniform or be part of an in function parameter declaration, no opaque types may be used as the return type of a function.

[Mesa-dev] [PATCH 15/23] glsl/ast: Generalize some sampler variable restrictions to all opaque types.

2013-11-26 Thread Francisco Jerez
No opaque types may be statically initialized in the shader, all opaque variables must be declared uniform or be part of an in function parameter declaration, no opaque types may be used as the return type of a function. --- src/glsl/ast_to_hir.cpp | 45