diff options
author | Kenneth Graunke <[email protected]> | 2011-12-23 19:57:08 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2011-12-27 14:33:37 -0800 |
commit | 443c8d1ab7ddad9392046e041e4e9a4fda7cd6e7 (patch) | |
tree | 3e656dbcb2afafa113567175884195c256b84440 /src/mesa/x86 | |
parent | 7420c9dab4aaf87e6b840410226c296c4668a48f (diff) |
i965/vs: Fix incorrect subscript when resetting copy propagation records.
In this code, 'i' loops over the number of virtual GRFs, while 'j' loops
over the number of vector components (0 <= j <= 3).
It can't possibly be correct to see if bit 'i' is set in the destination
writemask, as it will have values much larger than 3. Clearly this is
supposed to be 'j'.
Found by inspection.
Tested-by: Matt Turner <[email protected]>
Tested-by: Christopher James Halse Rogers <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Signed-off-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/x86')
0 files changed, 0 insertions, 0 deletions