mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-23 02:41:52 +01:00
Assert on geometry stream usage
This commit is contained in:
parent
2e64199640
commit
f55b135243
@ -432,6 +432,9 @@ namespace skyline::gpu::interconnect::maxwell3d {
|
||||
}
|
||||
|
||||
void PackedPipelineState::SetTransformFeedbackVaryings(const engine::StreamOutControl &control, const std::array<u8, engine::StreamOutLayoutSelectAttributeCount> &layoutSelect, size_t buffer) {
|
||||
if (control.streamSelect != 0)
|
||||
throw exception("Geometry streams are unsupported!");
|
||||
|
||||
for (size_t i{}; i < control.componentCount; i++) {
|
||||
// TODO: We could merge multiple component accesses from the same attribute into one varying as yuzu does
|
||||
u8 attributeIndex{layoutSelect[i]};
|
||||
|
Loading…
Reference in New Issue
Block a user