r600g/sb: fix handling of preloaded inputs for compute shaders
authorVadim Girlin <vadimgirlin@gmail.com>
Sat, 25 May 2013 18:56:53 +0000 (22:56 +0400)
committerVadim Girlin <vadimgirlin@gmail.com>
Sat, 25 May 2013 18:56:53 +0000 (22:56 +0400)
commit44a117ab9ac7e18ffddf4d59ae35fe2c266efc1d
tree16d0b4a6da346349cea2fc54bb6e403df55340b6
parentfd9fe4470be0437c18cbd6d2bc8e568378f88200
r600g/sb: fix handling of preloaded inputs for compute shaders

For compute shaders we need to let the backend know that
GPRs 0 and 1 are preloaded with some compute-specific input
values, otherwise any use of these regs without previous
definition is considered as undefined value and usually
is simply replaced with 0.

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