i965/fs: Use exec_size instead of dst.width for computing component size
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 18 Jun 2015 20:49:22 +0000 (13:49 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 30 Jun 2015 23:13:51 +0000 (16:13 -0700)
commit83458e7c53cfc1f344280da6eb9a3b4e2dfdbc00
treed6f4f995af20615bf3a2a1bbc572bf879d324eba
parent9a0c883292cf48910a32634f7cc8b855e08c09d5
i965/fs: Use exec_size instead of dst.width for computing component size

There are a variety of places where we use dst.width / 8 to compute the
size of a single logical channel.  Instead, we should be using exec_size.

Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Acked-by: Francisco Jerez <currojerez@riseup.net>
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs_cse.cpp
src/mesa/drivers/dri/i965/brw_fs_register_coalesce.cpp
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
src/mesa/drivers/dri/i965/brw_schedule_instructions.cpp