[Mesa-dev] [PATCH 05/11] mesa: add double uniform support.

Dave Airlie airlied at gmail.com
Sun Aug 24 19:12:50 PDT 2014


> It's hard to tell from just the patch whether this restriction is
> enforced:
>
>     (15) Can the 64-bit uniform APIs be used to load values for uniforms of
>          type "bool", "bvec2", "bvec3", or "bvec4"?
>
>       RESOLVED:  No.  OpenGL 2.0 and beyond did allow "bool" variable to be
>       set with Uniform*i* and Uniform*f APIs, and OpenGL 3.0 extended that
>       support to Uniform*ui* for orthogonality.  But it seems pointless to
>       extended this capability forward to 64-bit Uniform APIs as well.

Good catch it wasn't, I've just submitted a piglit test for this.

Dave.


More information about the mesa-dev mailing list