i965: Set brw_stage_state::push_const_size for PS constants.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 13 Sep 2013 21:37:09 +0000 (14:37 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 17 Sep 2013 01:25:11 +0000 (18:25 -0700)
commite776c18afb356aeb4a1d1d26ac1e440f37174e37
treedd594c45f1010b0822fc30d751c04abcfb814a38
parentd385edf4c32bf92daa415d32fc1e70934cfca268
i965: Set brw_stage_state::push_const_size for PS constants.

This paves the way for using gen7_upload_constant_state for PS data.

The formula is copied from gen7_wm_state.c.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mesa/drivers/dri/i965/gen6_wm_state.c