OSDN Git Service

ir_to_mesa: Sort the uniform list we're adding to Parameters[] order.
authorEric Anholt <eric@anholt.net>
Tue, 31 Aug 2010 18:16:09 +0000 (11:16 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 31 Aug 2010 18:34:29 +0000 (11:34 -0700)
commit99f3c9caa39fbe9dfa7561c919202395720e9472
tree3462d7dd822a157cdf7ff0d8bda83dbaf82b2017
parent2a78807db7a3bc852da0cda1e933a157204c3a47
ir_to_mesa: Sort the uniform list we're adding to Parameters[] order.

Fixes glsl-uniform-linking-1 and failure to link a shader in Unigine.
An alternative here would be to just ditch using _mesa_add_parameter
and build the initial params list on our own, but that would require
two walks of the list as well.

Bug #29822
src/mesa/program/ir_to_mesa.cpp