diff options
author | Kenneth Graunke <[email protected]> | 2012-01-05 13:54:41 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-01-06 18:17:46 -0800 |
commit | 7ccf04ebcf6284a68ab6c571dabc5f3e0c6b740b (patch) | |
tree | 1e64fcec77b5bcb6f25c3f0358ec868fbb3af714 /src/glsl/builtins/profiles/130.frag | |
parent | de88e00c941d7d2d29ad5cbb87253ae116feab0e (diff) |
i965/vs: Fix invalid array access in copy propagation.
Accessing virtual_grf_reg_map[inst->dst.reg] is invalid if
inst->dst.file != GRF. Since is_direct_copy already implies a GRF
destination, we can just move the check earlier.
Fixes a regression in commit 07ee9f374f2946f852896e9264c7fa83eafc3f16.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=44302
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glsl/builtins/profiles/130.frag')
0 files changed, 0 insertions, 0 deletions