ir_to_mesa: Don't whack the ->location field of uniform block variables.
authorEric Anholt <eric@anholt.net>
Fri, 20 Jul 2012 23:49:15 +0000 (16:49 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 7 Aug 2012 20:54:50 +0000 (13:54 -0700)
commitaf3fc6bb2836ce545c624bce2b47c3fd8cf4f9fa
treeed604cfbbc4d6ef32bd7550e4859433a8328eab5
parent56e82e30cb60368bb3605f95130732f5edbab0a0
ir_to_mesa: Don't whack the ->location field of uniform block variables.

Fixes some failures in GL_ARB_uniform_buffer_object/maxblocks.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/program/ir_to_mesa.cpp