Skip to content
This repository has been archived by the owner on Aug 1, 2019. It is now read-only.

Make BindGroups take (buffer, offset, size) instead of a buffer view #200

Open
Kangz opened this issue Jun 13, 2018 · 0 comments
Open

Make BindGroups take (buffer, offset, size) instead of a buffer view #200

Kangz opened this issue Jun 13, 2018 · 0 comments

Comments

@Kangz
Copy link
Contributor

Kangz commented Jun 13, 2018

Metal, Vulkan, and the sketch WebGPU IDL don't need to create buffer views to set UBOs or SSBOs in bind groups. We should match that, which would also allow removing the concept of buffer views until we introduce texel buffers.

The corresponding WebGPU IDL for reference:

dictionary WebGPUBufferBinding {
    WebGPUBuffer buffer;
    u32 offset;
    u32 size;
};
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