Commit c6cf5c9
authored
Add execution mode for derivatives in compute shaders (microsoft#5939)
This commit adds the execution mode to compute shaders when derivatives
are used. I only added a single test because the derivatives are all
handled in one place. The choice of execution mode was tested using the
implicit LOD instructions.1 parent ed1502e commit c6cf5c9
File tree
2 files changed
+41
-4
lines changed- tools/clang
- lib/SPIRV
- test/CodeGenSPIRV_Lit
2 files changed
+41
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11193 | 11193 | | |
11194 | 11194 | | |
11195 | 11195 | | |
11196 | | - | |
11197 | | - | |
| 11196 | + | |
| 11197 | + | |
| 11198 | + | |
| 11199 | + | |
| 11200 | + | |
| 11201 | + | |
| 11202 | + | |
| 11203 | + | |
11198 | 11204 | | |
11199 | 11205 | | |
11200 | 11206 | | |
| |||
11205 | 11211 | | |
11206 | 11212 | | |
11207 | 11213 | | |
| 11214 | + | |
| 11215 | + | |
11208 | 11216 | | |
11209 | 11217 | | |
11210 | 11218 | | |
11211 | | - | |
11212 | | - | |
| 11219 | + | |
11213 | 11220 | | |
11214 | 11221 | | |
| 11222 | + | |
11215 | 11223 | | |
11216 | 11224 | | |
11217 | 11225 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
0 commit comments