diff options
author | Jason Ekstrand <[email protected]> | 2015-01-22 13:46:44 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-22 15:19:13 -0800 |
commit | 7de8a3e13efe1c3eede531737f6780d388152355 (patch) | |
tree | 10bf1dacc17708cadbe6dc3999ee585775a0f860 /doxygen | |
parent | 8751734613d3476f46ef1efe119a6892b3ecfa02 (diff) |
i965/emit: Do the sampler index adjustment directly in header.0.3
Prior to this commit, the adjust_sampler_state_pointer function took an
extra register that it could use as scratch space. The usual candidate was
the destination of the sampler instruction. However, if that register ever
aliased anything important such as the sampler index, this would scratch
all over important data. Fortunately, the calculation is such that we can
just do it in place and we don't need the scratch space at all.
Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'doxygen')
0 files changed, 0 insertions, 0 deletions