diff options
author | Francisco Jerez <[email protected]> | 2015-02-03 21:57:38 +0200 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2015-02-10 16:05:51 +0200 |
commit | 3df2cb2f863836ec909f5259693c1eeef675a594 (patch) | |
tree | 1995c0f57e2548a25a704bb892cb61c3b6c01c53 /src/util/register_allocate.h | |
parent | f2668f9f214201503419342b980d3afa8b796926 (diff) |
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 <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/util/register_allocate.h')
0 files changed, 0 insertions, 0 deletions