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

Cube Texture sample gives an error #24

Closed
cx20 opened this issue Jan 17, 2023 · 2 comments
Closed

Cube Texture sample gives an error #24

cx20 opened this issue Jan 17, 2023 · 2 comments

Comments

@cx20
Copy link

cx20 commented Jan 17, 2023

I tried to display the following sample with Chrome Canary 111.
https://06wj.github.io/WebGPU-Playground/#/Samples/CubeTexture

However, there seems to be an error in the console.

Tint WGSL reader failure: :20:11 error: 'final' is a reserved keyword
      var final = vec3<f32>(pos.x, pos.y, pos.z);
          ^^^^^
@06wj
Copy link
Owner

06wj commented Jan 18, 2023

Fixed it.

@cx20
Copy link
Author

cx20 commented Jan 18, 2023

Thanks!

@cx20 cx20 closed this as completed Jan 18, 2023
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

No branches or pull requests

2 participants