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

fix wgpu shader object uniform data handling #91

Merged
merged 2 commits into from
Nov 1, 2024

Conversation

skallweitNV
Copy link
Collaborator

The current implementation ends up issuing copyBufferToBuffer commands while having a sub-encoder open, which is not allowed in WebGPU. This workaround replaces the buffer updates with just creating a new buffer whenever the uniform data in shader object changes.

@skallweitNV skallweitNV merged commit ad8092e into main Nov 1, 2024
10 checks passed
@skallweitNV skallweitNV deleted the fix-wgpu-shader-object branch November 1, 2024 10:54
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.

1 participant