-
Notifications
You must be signed in to change notification settings - Fork 2k
Create simple gltf viewer based on gltf_instances, primarily to facilitate webgpu development #8833
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
Conversation
2b0d690
to
3b07058
Compare
: createUbershaderProvider(engine, UBERARCHIVE_DEFAULT_DATA, | ||
UBERARCHIVE_DEFAULT_SIZE); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you just want the uber shader here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now yes, but once the issue with non-ubershaders trying to insert spec constants is resolved we will probably switch back. For now I think it makes sense to keep some of that code to bring it back as appropriate?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
664f09f
to
f8c9eed
Compare
int opt; | ||
int option_index = 0; | ||
// Make WebGPU the default for this test | ||
app->config.backend = Engine::Backend::WEBGPU; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's not do this unless this sample is meant to be deleted later
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is my intention actually. I can still remove this if you want, but as far as I see it this sample only exists as a stopgap to enable webgpu development until other issues are resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, ok
: createUbershaderProvider(engine, UBERARCHIVE_DEFAULT_DATA, | ||
UBERARCHIVE_DEFAULT_SIZE); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure
f8c9eed
to
ea9818f
Compare
…itate webgpu development
ea9818f
to
a7c047b
Compare
No description provided.