OSDN Git Service

i965: Advertise our vertex shader texture units.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 28 Oct 2011 04:57:48 +0000 (21:57 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 20 Dec 2011 00:33:11 +0000 (16:33 -0800)
commit37d24a70daa41bbad9c7a85dd432f561a172e858
treee1d5cfca88f4454fefb9a84c134af00cff863714
parent8e34021099527868097b2c877fc32f29aa4d7bb6
i965: Advertise our vertex shader texture units.

Previously, we advertised 0 VS texture units.  Now that we have proper
support for using the sampling engine in the VS, we can advertise 16,
which is conveniently the number required for OpenGL 3.0.

v2: Enable on Gen4.  I hacked up my tests to not use flat ivec varyings
    and they pass.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/drivers/dri/i965/brw_context.c