Commit 4fd7050
authored
URenderPipeline: Use transformed attribute names in VertexFormat for RenderPipeline
Pretty much the same issue as d6937c4 but in the code for 1.21.5+ which
no longer supports MCShader uses the new vanilla RenderPipeline
mechanism instead.
This fixes draws with custom shader on graphics drivers which do not
order attributes by default by their order in the shader source code
(mainly MacOS).
Linear: EM-3161
GitHub: #1141 parent 72de1e3 commit 4fd7050
File tree
1 file changed
+17
-0
lines changed- src/main/kotlin/gg/essential/universal/render
1 file changed
+17
-0
lines changedLines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
| 370 | + | |
354 | 371 | | |
355 | 372 | | |
356 | 373 | | |
| |||
0 commit comments