r600g/sb: fix allocation of indirectly addressed input arrays
authorVadim Girlin <vadimgirlin@gmail.com>
Thu, 2 May 2013 03:56:32 +0000 (07:56 +0400)
committerVadim Girlin <vadimgirlin@gmail.com>
Fri, 3 May 2013 12:53:41 +0000 (16:53 +0400)
commite16ef1f454905252f9986bd2714fd6ae37a5aa75
tree2faaa4328ba4a8cdeda11b568caaff89fa84eb94
parenta6fe055fa77e42e35f25272bdd5ca7213b436a1a
r600g/sb: fix allocation of indirectly addressed input arrays

Some inputs may be preloaded into predefined GPRs,
so we can't reallocate arrays with such inputs.

Fixes issues with webgl demo: http://oos.moxiecode.com/js_webgl/snake/

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
src/gallium/drivers/r600/sb/sb_ra_coalesce.cpp
src/gallium/drivers/r600/sb/sb_ra_init.cpp
src/gallium/drivers/r600/sb/sb_shader.cpp
src/gallium/drivers/r600/sb/sb_shader.h