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

Uniform data/buffers #32

Open
Try opened this issue Apr 27, 2022 · 1 comment
Open

Uniform data/buffers #32

Try opened this issue Apr 27, 2022 · 1 comment

Comments

@Try
Copy link
Owner

Try commented Apr 27, 2022

Vulkan api on this side is quite messy - need to design nice engine-level api.

Use-cases:

  1. Per-frame immediate data (view/proj matrix, main light)
  2. Per-draw immediate data (obj matrix)
  3. Constant data (vbo/ibo, animation skeleton to some extend)

case 3 is native - DescriptorSet::set
case 2 almost works, as push constant (128 byte limit is an issue)
case 1 can work as push, except it doesn't fit there.

@Try Try mentioned this issue Apr 27, 2022
6 tasks
@Try
Copy link
Owner Author

Try commented May 27, 2023

Per-frame immediate data (view/proj matrix, main light)

Update on this case from OpenGothic:
updating device-local ssbo, from host-visible buffers (aka staging). Can be done cleanly by introducing cmd.update(ssbo, void*,offset, size)

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

No branches or pull requests

1 participant