Marek Olšák <mar...@gmail.com> writes: > Shaders are unified on most hardware (= same limits in all stages). > No idea what the assertion was good for. > --- > src/mesa/main/config.h | 6 ++---- > src/mesa/main/context.c | 6 ++---- > src/mesa/state_tracker/st_extensions.c | 2 +- > 3 files changed, 5 insertions(+), 9 deletions(-) > > diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h > index 33b5ab0..76863bf 100644 > --- a/src/mesa/main/config.h > +++ b/src/mesa/main/config.h
> - assert(MAX_COMBINED_TEXTURE_IMAGE_UNITS <= 8 * sizeof(GLbitfield)); > - I think this assert is asserting that _EnabledUnits of gl_texture_attrib can fit the size of the Unit[] array, which seems important.
pgpBmzycOTsX3.pgp
Description: PGP signature
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev