amethyst / amethyst/rendy

rendy silently allows binding to, drawing from slots with no vertex format specified

Aperta
#168 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Rust
Stelle
812
Fork
94
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

To reproduce, edit the triangle example and remove the implementation of `TriangleRenderPipelineDesc::vertices` (so that the default implementation is used).

The example still compiles, runs and issues no warnings, but does not render the triangle. Because no vertex format has been specified, the shader fails to pull any data from the vertex buffer.

This should probably at least be checked in debug builds, and documented for this and any other descriptor method(s) that might be susceptible to the same problem.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.