Skip to content

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

Merged
sunag merged 1 commit into
mrdoob:devfrom
RenaudRohlinger:utsubo/fix/storagebuffer-vertex-issue
Jun 11, 2024
Merged

WebGPURenderer: Allow using StorageBuffer directly as attribute in nodes#28620
sunag merged 1 commit into
mrdoob:devfrom
RenaudRohlinger:utsubo/fix/storagebuffer-vertex-issue

Conversation

@RenaudRohlinger
Copy link
Copy Markdown
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
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