[Mesa-dev] [PATCH] mesa: expand the fragprog_inputs_read bitfield in ffvertex_prog.c

Eric Anholt eric at anholt.net
Wed Nov 7 09:18:49 PST 2012


Brian Paul <brianp at vmware.com> writes:

> The glean glsl1 test was failing an assertion because FRAG_ATTRIB_FACE
> (and FRAG_ATTRIB_PNTC) doesn't fit in a 12-bit field.
>
> In the failing case we're using a fragment shader with fixed-function
> vertex processing.

What about if they have an FS reading generic attribs, and forget to
bind a VS.  Should they still assertion fail?

This code only cares about some low bits, it doesn't matter what the
high ones are.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20121107/69999ffa/attachment.pgp>


More information about the mesa-dev mailing list