Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add acceleration structure limits #6803

Open
Vecvec opened this issue Dec 22, 2024 · 3 comments
Open

Add acceleration structure limits #6803

Vecvec opened this issue Dec 22, 2024 · 3 comments
Labels
api: dx12 Issues with DX12 or DXGI api: vulkan Issues with Vulkan area: api Issues related to API surface area: validation Issues related to validation, diagnostics, and error handling feature: raytracing Issues with the Ray Tracing Native Feature type: enhancement New feature or request

Comments

@Vecvec
Copy link
Contributor

Vecvec commented Dec 22, 2024

Is your feature request related to a problem? Please describe.
Currently users have no way to get the device limits for acceleration structures. This could be useful for users who need very large acceleration structures. We would also need to check these (we don't do anything right now).

Describe the solution you'd like
We should decide on limits names and defaults (probably just the smallest sizes, most of the sizes are beyond what most people need).

Describe alternatives you've considered
We could just set fixed values.

Additional context
see https://vulkan.gpuinfo.org/listpropertiesextensions.php and search VK_KHR_acceleration_structure

@Vecvec
Copy link
Contributor Author

Vecvec commented Dec 22, 2024

I think the max*Counts are required to be at least 2^24 - 1.

@Vecvec
Copy link
Contributor Author

Vecvec commented Dec 22, 2024

I think the minimum max triangle and max instance counts are 2^24-1 (from vulkan) and minimum max primitive count is 2 ^ 28 (from non extended metal limits)

@cwfitzgerald cwfitzgerald added type: enhancement New feature or request area: validation Issues related to validation, diagnostics, and error handling area: api Issues related to API surface api: dx12 Issues with DX12 or DXGI api: vulkan Issues with Vulkan feature: raytracing Issues with the Ray Tracing Native Feature labels Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: dx12 Issues with DX12 or DXGI api: vulkan Issues with Vulkan area: api Issues related to API surface area: validation Issues related to validation, diagnostics, and error handling feature: raytracing Issues with the Ray Tracing Native Feature type: enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

2 participants