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

Make more examples WebGPU compatible #5918

Merged
merged 1 commit into from Jan 8, 2024

Conversation

erikdubbelboer
Copy link
Contributor

Switch examples from using pc.AppBase instead of pc.Application. This allows the examples to be WebGPU compatible.

TransformFeedbackExample, VideoTextureExample and PositionalExample have been updated but have WEBGPU_ENABLED = false as they don't work with WebGPU yet. I have added a comment to each for why.

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

Switch examples from using pc.AppBase instead of pc.Application. This
allows the examples to be WebGPU compatible.

TransformFeedbackExample, VideoTextureExample and PositionalExample have
been updated but have WEBGPU_ENABLED = false as they don't work with
WebGPU yet. I have added a comment to each for why.
Copy link
Contributor

@mvaligursky mvaligursky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks for doing this!

@mvaligursky mvaligursky merged commit 3c61a1a into playcanvas:main Jan 8, 2024
7 checks passed
@mvaligursky
Copy link
Contributor

improvement to the positional example here: #5932
(now it works even though there is non-obvious error still, enabled for WebGPU)

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.

None yet

2 participants