Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Validate ScinthDefs against maxBoundDescriptorSets #175

Open
lnihlen opened this issue Nov 9, 2020 · 0 comments
Open

Validate ScinthDefs against maxBoundDescriptorSets #175

lnihlen opened this issue Nov 9, 2020 · 0 comments

Comments

@lnihlen
Copy link
Member

lnihlen commented Nov 9, 2020

With envelopes and images both using samplers, there's a possibility users could author ScinthDefs that exceed the maximum supported number of simultaneously bound descriptor sets. Some statistics on gpuinfo show that a significant percentage of current hardware support a maximum of only 8.

The server should read from the VkPhysicalDeviceLimits structure on device init to get the limit, and fail to accept ScinthDefs with a descriptive error message when the limit is exceeded.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant