commit | 109f7ee60baffd2492b4a856f7265bdbb966bb7b | [log] [tgz] |
---|---|---|
author | John Stiles <johnstiles@google.com> | Wed Nov 17 19:10:43 2021 -0500 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Thu Nov 18 14:08:17 2021 +0000 |
tree | 24d540a91d21a138cf56b10e92f9954939a517a0 | |
parent | 0774db13d24ce59ae9560701d7c19772669f9ac4 [diff] |
Assign unique per-pixel device coordinates in SkVM instead of all-zero. If the device coordinates are constant across every lane, debug traces can't generate reasonable results. If nothing actually uses the device coordinates, the extra opcodes should DCE away. Change-Id: Ic08a490a692e9c0bdd94f351193bc590d6540ded Reviewed-on: https://skia-review.googlesource.com/c/skia/+/473136 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: John Stiles <johnstiles@google.com>