[Mesa-stable] [Mesa-dev] [PATCH 3/9] glsl: Emit errors for things that look like default precision statements
Kenneth Graunke
kenneth at whitecape.org
Tue Aug 13 11:04:57 PDT 2013
On 08/09/2013 04:38 PM, Ian Romanick wrote:
> From: Ian Romanick <ian.d.romanick at intel.com>
>
> Previously we would emit a warning for empty declarations like
>
> float;
>
> We would also emit the same warning for things like
>
> highp float;
>
> However, this second case is most likely the application trying to set the
> default precision. We should instead generate an error.
>
> Fixes piglit precision-05.vert.
>
> Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
> Cc: "9.2" <mesa-stable at lists.freedesktop.org>
AMD succesfully compiles precision-05.vert, so I think this probably
needs to be allowed.
More information about the mesa-stable
mailing list