swrast: increase array size of TextureSample
authorMarek Olšák <maraeo@gmail.com>
Mon, 13 May 2013 14:24:57 +0000 (16:24 +0200)
committerMarek Olšák <maraeo@gmail.com>
Tue, 28 May 2013 11:05:30 +0000 (13:05 +0200)
commitb4cb857dbfeb89d56ac0eb67ba1d7d5f65e336d4
treee78923c5b0f555737166db8254869f810941b6e8
parent15a4b6db2192b0adc05c3dc07cf043316c556f2e
swrast: increase array size of TextureSample

to match the size of ctx->Texture.Unit, and it will also fix
piglit/max-samplers with the following commit.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/swrast/s_context.c
src/mesa/swrast/s_context.h