tgsi/ureg: give ureg_DECL_constant an explicit index parameter
authorKeith Whitwell <keithw@vmware.com>
Sat, 12 Sep 2009 21:16:00 +0000 (14:16 -0700)
committerKeith Whitwell <keithw@vmware.com>
Sat, 12 Sep 2009 21:16:00 +0000 (14:16 -0700)
commitae4704eabc237e13c9b06df9c44f31c9baca6208
treed70220d5faa5e88ab6b257ca92c5f88c361a0efa
parent09b566e1610ec699490dc01bcea0b8c5cc44a78d
tgsi/ureg: give ureg_DECL_constant an explicit index parameter

Avoid the need to emit all constant declarations in order.  Makes
referring to a specific constant in the constant buffer much easier.
src/gallium/auxiliary/tgsi/tgsi_ureg.c
src/gallium/auxiliary/tgsi/tgsi_ureg.h
src/gallium/state_trackers/xorg/xorg_exa_tgsi.c