mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-27 16:45:30 +03:00
Don't bail out when invalid desc types are encountered
This caused graphical artifacts and didn't particularly help prevent crashes.
This commit is contained in:
parent
34611ba180
commit
6a57fd16fb
@ -836,10 +836,6 @@ namespace skyline::gpu::interconnect::maxwell3d {
|
|||||||
bindingIdx += stage.storageImageDescs.size();
|
bindingIdx += stage.storageImageDescs.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Since we don't implement all descriptor types the number of writes might not match what's expected
|
|
||||||
if (!writeIdx)
|
|
||||||
return nullptr;
|
|
||||||
|
|
||||||
return ctx.executor.allocator->EmplaceUntracked<DescriptorUpdateInfo>(DescriptorUpdateInfo{
|
return ctx.executor.allocator->EmplaceUntracked<DescriptorUpdateInfo>(DescriptorUpdateInfo{
|
||||||
.writes = writes.first(writeIdx),
|
.writes = writes.first(writeIdx),
|
||||||
.bufferDescs = bufferDescs.first(bufferIdx),
|
.bufferDescs = bufferDescs.first(bufferIdx),
|
||||||
|
Loading…
Reference in New Issue
Block a user