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 readonly storage buffer example on render pipeline #67

Open
ottovilleFin opened this issue Oct 29, 2020 · 3 comments
Open

Add readonly storage buffer example on render pipeline #67

ottovilleFin opened this issue Oct 29, 2020 · 3 comments
Labels
sample request Request for a new sample

Comments

@ottovilleFin
Copy link

Currently no WGSL samples covers this GLSL use case in vertex shader:

layout(std430, set = 0, binding = 0) readonly buffer myBuffer {
    float numbers[];
} myBuffer;
@austinEng
Copy link
Collaborator

Details of how readonly is specified is still in progress for WGSL. See gpuweb/gpuweb#1159. Once that's finalized, I'll be happy to add an example that uses readonly storage buffers in the vertex shader :)

@caiiiycuk
Copy link

Hi, any updates on this?

@kainino0x kainino0x added the sample request Request for a new sample label Mar 5, 2024
@kainino0x
Copy link
Collaborator

What would be useful to demonstrate here that isn't already demonstrated by the read-only storage buffer in the compute stage of computeBoids?

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

No branches or pull requests

4 participants