summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_ir_vec4.h
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@riseup.net>2015-02-03 21:57:38 +0200
committerFrancisco Jerez <currojerez@riseup.net>2015-02-10 16:05:51 +0200
commit3df2cb2f863836ec909f5259693c1eeef675a594 (patch)
tree1995c0f57e2548a25a704bb892cb61c3b6c01c53 /src/mesa/drivers/dri/i965/brw_ir_vec4.h
parentf2668f9f214201503419342b980d3afa8b796926 (diff)
downloadexternal_mesa3d-3df2cb2f863836ec909f5259693c1eeef675a594.zip
external_mesa3d-3df2cb2f863836ec909f5259693c1eeef675a594.tar.gz
external_mesa3d-3df2cb2f863836ec909f5259693c1eeef675a594.tar.bz2
i965/fs: Fix fs_inst::regs_written calculation for instructions with scalar dst.
Scalar registers are required to have zero stride, fix the regs_written calculation not to assume that the instruction writes zero registers in that case. v2: Rename CEILING() to DIV_ROUND_UP(). (Matt, Ken) Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_ir_vec4.h')
0 files changed, 0 insertions, 0 deletions