mesa/st: Assign inputsRead at right (previous) location.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 25 Jan 2012 13:47:55 +0000 (13:47 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 25 Jan 2012 13:48:18 +0000 (13:48 +0000)
commit4ac37b0b81699442893c2894aa1f5293a5cda3a9
treecb0873482705aff276a367ab3e0d87e748b22971
parent69c8f468ba93dc2999d4fde8909f8051e910929a
mesa/st: Assign inputsRead at right (previous) location.

Fixes the

  src/mesa/state_tracker/st_glsl_to_tgsi.cpp:4032:src_register: Assertion `t->inputMapping[index] < (sizeof(t->inputs)/sizeof(*(t->inputs)))' failed.

assertion failure introduced in 697b9945fb0f55428b06821f98fd8621372f81ad
src/mesa/state_tracker/st_program.c