----- Original Message ----- > From: Dave Airlie <airl...@redhat.com> > > If we had no vertex textures previously and we have none now, > don't bother doing the enables dance. > > Signed-off-by: Dave Airlie <airl...@redhat.com> > --- > src/mesa/state_tracker/st_atom_texture.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-)
Nice find. Does this help performance? Can't we do the same for fragment or does it just cost more to check (when this is rarely the case) then just doing the rest of the function? Cheers, Jakob. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev