Commit 6f3663d
committed
[Backport to 14] Fix crash on coopmat conversion without decoration (KhronosGroup#3190)
The SPIR-V reader would crash on the added test during reverse
translation. Ensure any cooperative matrix type conversion is handled
the same way as a cooperative matrix type conversion with an
FPRoundingMode or SaturatedConversion decoration.
(cherry picked from commit 32738f9)1 parent c8897c9 commit 6f3663d
File tree
2 files changed
+17
-1
lines changed- lib/SPIRV
- test/transcoding/SPV_KHR_cooperative_matrix
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2852 | 2852 | | |
2853 | 2853 | | |
2854 | 2854 | | |
2855 | | - | |
| 2855 | + | |
| 2856 | + | |
2856 | 2857 | | |
2857 | 2858 | | |
2858 | 2859 | | |
| |||
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
45 | 58 | | |
46 | 59 | | |
47 | 60 | | |
| |||
132 | 145 | | |
133 | 146 | | |
134 | 147 | | |
| 148 | + | |
| 149 | + | |
135 | 150 | | |
136 | 151 | | |
137 | 152 | | |
| |||
0 commit comments