[Mesa-dev] [PATCH 18/20] mesa: Rewrite the way uniforms are tracked and handled

Marek Olšák maraeo at gmail.com
Fri Jan 6 08:51:28 PST 2012


On Fri, Jan 6, 2012 at 4:28 AM, Eric Anholt <eric at anholt.net> wrote:
> So when someone changes from a program using samplerunits bound one way
> to a program using samplerunits bound another way, are you expecting
> glUseProgram to flag _NEW_TEXTURE?  Because it doesn't.

Yes it doesn't, but st/mesa always looks if there's a new fragment
program and rebinds fragment textures.

FWIW I like Ian's idea with SamplersChangedNotify.

Marek


More information about the mesa-dev mailing list