[Mesa-dev] [PATCH 1/2] Allow for GLSL shaders to have #extension directive anywhere in source file.

Kenneth Graunke kenneth at whitecape.org
Tue Dec 3 10:35:51 PST 2013


On 12/03/2013 08:43 AM, Ian Romanick wrote:
> Can we please hold off on this?  I'm in the process of getting the GLSL
> spec updated to match what people actually ship.  We've always taken the
> approach of following the spec, and if the spec doesn't match reality,
> fix the spec.  I've done this about a dozen times over the last 3 years,
> and I don't feel like there's a compelling reason to deviate for this case.
> 
> I also don't think the behavior implemented by this patch exactly
> matches other vendors.  I don't want to put a set of hacks in now only
> to replace them with something different in a few weeks.

I agree that we should hold off until the Khronos spec bug is resolved.

We'll likely want something like this (or Brian's?), but we'll know
exactly what it should look like then.

--Ken


More information about the mesa-dev mailing list