Commit 5ceaf84
authored
[ExecutionTests] Fix shader source to prevent OOB access for ExecutionTests::AtomicsShared64Test (microsoft#7641)
Fixes microsoft#5198.
ExecutionTests::AtomicsShared64Test could sporadically fail.
g_sint64Share is indexed with ix%3 + 1, which could lead to an out of
bounds access.
Increase the size of g_sint64Share to 4 and ensure all values are
initialized.1 parent 020fbdf commit 5ceaf84
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1976 | 1976 | | |
1977 | 1977 | | |
1978 | 1978 | | |
1979 | | - | |
| 1979 | + | |
1980 | 1980 | | |
1981 | 1981 | | |
1982 | 1982 | | |
| |||
2046 | 2046 | | |
2047 | 2047 | | |
2048 | 2048 | | |
2049 | | - | |
| 2049 | + | |
2050 | 2050 | | |
2051 | 2051 | | |
2052 | 2052 | | |
| |||
2552 | 2552 | | |
2553 | 2553 | | |
2554 | 2554 | | |
2555 | | - | |
| 2555 | + | |
2556 | 2556 | | |
2557 | | - | |
| 2557 | + | |
2558 | 2558 | | |
2559 | | - | |
| 2559 | + | |
2560 | 2560 | | |
2561 | 2561 | | |
2562 | 2562 | | |
| |||
0 commit comments