glsl: Allow precision qualifiers on general opaque types.
authorFrancisco Jerez <currojerez@riseup.net>
Sun, 16 Aug 2015 22:28:57 +0000 (01:28 +0300)
committerFrancisco Jerez <currojerez@riseup.net>
Thu, 20 Aug 2015 09:28:37 +0000 (12:28 +0300)
commit26b1141a78cfec0e2eface4b399009ee5eb421df
tree850194bffa4b06a3344cfcf5799b1b9300d6c3fd
parentee7bf349d865b18ca2827508fb947b7e549c7fc6
glsl: Allow precision qualifiers on general opaque types.

From the GLSL ES 3.1 spec, section 4.7.3:
 "Any floating point, integer, opaque type declaration can have the
  type preceded by one of these precision qualifiers: [...] highp
  [...], mediump [...], lowp [...]."

Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
src/glsl/ast_to_hir.cpp