r600g/sb: fix value::is_fixed()
authorVadim Girlin <vadimgirlin@gmail.com>
Tue, 29 Oct 2013 01:49:21 +0000 (05:49 +0400)
committerVadim Girlin <vadimgirlin@gmail.com>
Tue, 29 Oct 2013 01:49:21 +0000 (05:49 +0400)
commit8bd4476010444642cff71e64146c91a484238dc2
tree9e1cffcb704dd016d7c80904eeb59a0947209bb5
parent08bf52712e9dbd32ea3e4855c3446eba624fc890
r600g/sb: fix value::is_fixed()

This prevents unnecessary (and wrong) register allocation in the
scheduler for preloaded values in fixed registers.

Fixes interpolation-mixed.shader_test on rv770
(and probably on all other pre-evergreen chips).

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
Tested-by: Andreas Boll <andreas.boll.dev@gmail.com>
src/gallium/drivers/r600/sb/sb_valtable.cpp