[Mesa-dev] Mesa (master): draw: fix flat shading and screen-space linear interpolation in clipper

Olivier Galibert galibert at pobox.com
Wed Jul 11 02:04:12 PDT 2012


On Tue, Jul 10, 2012 at 03:51:22PM +0200, Marek Ol??ák wrote:
> I just wanted to tell you Stephane's change cannot work and it even
> has no effect at the moment. The native integer support is global in
> core Mesa. It's because integer uniforms are converted to floats based
> on the global NativeInteger flag for all shader stages and that can't
> be fixed easily, because uniforms can be shared between shaders.
> Basically, all drivers must advertise integer support either for all
> shader stages or none.

Really?  I mean the idea here is that drivers like i915g which don't
have native integers in the fragger are going to advertise native
integers in the vs but stay at glsl 1.20.  Can you have integer
uniforms without 1.30+?  I don't think so.

  OG.



More information about the mesa-dev mailing list