[Mesa-dev] [PATCH 1/2] gallium: remove PIPE_CAP_MAX_COMBINED_SAMPLERS

Marek Olšák maraeo at gmail.com
Wed Jan 22 12:36:26 PST 2014


On Mon, Jan 20, 2014 at 3:35 PM, Brian Paul <brianp at vmware.com> wrote:
> I'm not sure about this.  The concept of MAX_COMBINED_TEXTURE_IMAGE_UNITS
> goes back to the first shader hardware where texture image units might be
> shared between the VS and FS.
>
> The question is whether any of the hardware we care about has that
> restriction.

I'm not aware of any hardware which has the restriction. I think
the reason MAX_COMBINED_TEXTURE_IMAGE_UNITS exists is that the OpenGL
texture units are shared by all shader stages.

Marek


More information about the mesa-dev mailing list