Commit 44e6523
committed
Fix ldexp builtin with vectors
In a few places we were always looking at component 0, which obviously
doesn't go well.
Bug: b/140648938
Test: dEQP-VK.*ldexp*
Change-Id: I6a8698a56beab8ccc3b41a729d399b957cde9495
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/36113
Tested-by: Chris Forbes <chrisforbes@google.com>
Presubmit-Ready: Chris Forbes <chrisforbes@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>1 parent a12195b commit 44e6523
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4229 | 4229 | | |
4230 | 4230 | | |
4231 | 4231 | | |
4232 | | - | |
| 4232 | + | |
4233 | 4233 | | |
4234 | 4234 | | |
4235 | 4235 | | |
| |||
4247 | 4247 | | |
4248 | 4248 | | |
4249 | 4249 | | |
4250 | | - | |
| 4250 | + | |
4251 | 4251 | | |
4252 | 4252 | | |
4253 | 4253 | | |
| |||
0 commit comments