Relax the buffer role change restrictions in GL #3508
Labels
backend: OpenGL
client: blocker
blocker issue for a known client
difficulty: average
platform: Wayland
platform: Web
platform: Xorg
status: ready for work
type: api
value: high
I think the
index_buffer_role_change
restriction should still allow transfers (i.e.TRANSFER_XXX
). Here are the steps to get there:First, in
add_memory_type
function we'd need to have something like:Secondly, in
queue.rs
whenCopyBufferToBuffer
and friends are implemented, they need to respect the bind points of the buffers. Currently, they useCOPY_READ_BUFFER
andCOPY_WRITE_BUFFER
unconditionally. Instead, these would need to be passed in.The text was updated successfully, but these errors were encountered: