Commit 488ed8bd authored by ReinUsesLisp's avatar ReinUsesLisp
Browse files

vk_rasterizer: Add lazy default buffer maker and use it for empty buffers

Introduce a default buffer getter that lazily constructs an empty
buffer. This is intended to match OpenGL's buffer 0.

Use this for disabled vertex and uniform buffers.

While we are at it, include vertex buffer usages for staging buffers to
silence validation errors.
parent 0bbae633
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment