On Tue, Aug 13, 2013 at 1:35 PM, Ian Romanick <i...@freedesktop.org> wrote:
> and the spec doesn't explicitly forbid it.

I was surprised by this, so I verified it.

In the GLSL ES 3.0 spec:

single_declaration
 fully_specified_type
  type_specifier
   precision_qualifier type_specifier_no_prec

precision_qualifier
 <highp, mediump, lowp>

type_specifier_no_prec
 type_specifier_nonarray
  <expands to list of built-in types>

Seems weird, but legitimate.

Have we actually seen 'highp float;' in the wild (outside of piglit)?

Assuming that the two instances of "highp" in precision_names is
intentional (or was not, but is fixed)

Reviewed-by: Matt Turner <matts...@gmail.com>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to