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

WebGPURenderer: Allow using StorageBuffer directly as attribute in nodes #28620

Merged

Conversation

RenaudRohlinger
Copy link
Collaborator

Description
When using storage buffers directly as vertex node it will consume them as basic attribute and generates this type of error (in both backend):
Screenshot 2024-06-11 at 16 56 43

This PR fixes the issue as properly binding the attribute as storage buffer instead of VERTEX | COPY_SRC | COPY_DST

This contribution is funded by Utsubo

@RenaudRohlinger RenaudRohlinger added this to the r166 milestone Jun 11, 2024
@sunag sunag merged commit b156ec8 into mrdoob:dev Jun 11, 2024
11 checks passed
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

Successfully merging this pull request may close these issues.

3 participants