i965: fix const register count for sandybridge
authorZhenyu Wang <zhenyuw@linux.intel.com>
Sun, 26 Sep 2010 05:13:32 +0000 (13:13 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 28 Sep 2010 07:58:20 +0000 (15:58 +0800)
commit81aae67e58f7c3123724e629a81e2c937864e3be
tree2079db8f03f0a1a059a7d3c9170087b3046061f5
parent956f866030f7bea5fc4a2de28c72e60bdc3a5b3d
i965: fix const register count for sandybridge

Sandybridge's PS constant buffer payload size is decided from
push const buffer command, incorrect size would cause wrong data
in payload for position and vertex attributes. This fixes coefficients
for tex2d/tex3d.
src/mesa/drivers/dri/i965/brw_wm_glsl.c