Commit ed36a5a
committed
Fix not setting graphics pipeline primitive type for Metal
This information is needed when a vertex shader outputs
[[render_target_array_index]] for a 2D texture array.
The GPU needs to know the primitive topology at pipeline compile time to
determine which vertex's array index value to use when routing fragments
to the indexed texture layer.1 parent b3f4eba commit ed36a5a
1 file changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1221 | 1221 | | |
1222 | 1222 | | |
1223 | 1223 | | |
| 1224 | + | |
| 1225 | + | |
| 1226 | + | |
| 1227 | + | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
| 1238 | + | |
| 1239 | + | |
| 1240 | + | |
| 1241 | + | |
1224 | 1242 | | |
1225 | 1243 | | |
1226 | 1244 | | |
| |||
0 commit comments