mesa: bump MAX_VARYING to 32
authorMarek Olšák <maraeo@gmail.com>
Fri, 26 Oct 2012 15:37:07 +0000 (17:37 +0200)
committerMarek Olšák <maraeo@gmail.com>
Fri, 23 Nov 2012 00:24:39 +0000 (01:24 +0100)
commit8ff8c91893cee8b1893de91e145c8496a12ab9ca
tree1e5ec4d807c169143a7245656ddb8f3bacd7728f
parent94864becb0ebf9e610dc53b2687a4d9d41a47c7e
mesa: bump MAX_VARYING to 32

We're starting to get apps utilizing more than 16 varyings and
most current hardware supports 32 anyway.

Tested with r600g.
swrast, softpipe and llvmpipe still advertise 16 varyings.

This fixes a WebGL crash after launching this demo:
https://developer.mozilla.org/en-US/demos/detail/falling-cubes

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=54402

NOTE: This is a candidate for the stable branches.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit b3921e1f53833420e0a0fd581f741744e7957a05)

Conflicts:
src/mesa/main/context.c
src/gallium/auxiliary/tgsi/tgsi_ureg.c
src/gallium/include/pipe/p_state.h
src/mesa/main/config.h
src/mesa/main/context.c
src/mesa/program/prog_print.c