[Mesa-dev] [PATCH 01/17] mesa: consolidate definitions of max texture image units
Eric Anholt
eric at anholt.net
Fri May 10 10:10:28 PDT 2013
Marek Olšák <maraeo at gmail.com> writes:
> Ping. Can I push this commit, Eric?
>
> Also, I don't think it's important what the
> MAX_COMBINED_TEXTURE_IMAGE_UNITS limit is right now, because a program
> object cannot have more than 16 samplers *combined* anyway
> (Elements(gl_shader_program::SamplerUnits) == 16), so the old limit
> was wrong too.
>
> We have some fixing to do before we can actually support 32 combined
> samplers as required by GL 3.0.
Yeah, it sounds like everything in this area was just broken, and this
is progress toward fixing it. We shouldn't be using _EnabledUnits
anyway, so I'm fine with making this change without updating its size.
-------------- 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/20130510/c76c7b65/attachment.pgp>
More information about the mesa-dev
mailing list