diff options
author | Eric Anholt <[email protected]> | 2013-04-04 16:30:49 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-04-10 09:45:21 -0700 |
commit | 3badbf7f7fa4898c69545fea3c60ea29cf61ae3b (patch) | |
tree | ac9a12a5cdf63dae3ca115d74139e08261740730 /src/glsl/standalone_scaffolding.cpp | |
parent | 007a88ed24e783d38839e69ae07aa19ceabb6c93 (diff) |
i965/vs: When asked to make a dst_reg for a src.xxxx, just write to src.x.
We have several places in our pull constant handling where we make a
temporary src_reg for an int, and then turn it into a dst. In doing so,
we were writing to the dst.xyzw, so we never register coalesced it with a
later mov from dst.x to real_dst.x.
These extra channels written would be removed if we had channel-wise DCE
in the backend, but we don't. Fix it for now by just not writing these
extra channels that won't get used.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl/standalone_scaffolding.cpp')
0 files changed, 0 insertions, 0 deletions