-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Ebridgewater/tint conversion validation #8494
base: main
Are you sure you want to change the base?
Conversation
2cbff04
to
9173c95
Compare
a945508
to
fcbe436
Compare
9173c95
to
6a0d74d
Compare
6a0d74d
to
07b16d0
Compare
d12eb96
to
c42be3e
Compare
…t pass the test due to the webgpu build failing or similar
c42be3e
to
5c9e254
Compare
@@ -196,6 +197,11 @@ static constexpr const char* shaderLanguageToString(ShaderLanguage shaderLanguag | |||
return "MSL"; | |||
case ShaderLanguage::METAL_LIBRARY: | |||
return "Metal precompiled library"; | |||
case ShaderLanguage::WGSL: | |||
return "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.
this should be "WGSL"
right?
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.
Agreed, will fix
break; | ||
break; | ||
case ChunkType::MaterialWgsl: | ||
text << "Wgsl precompiled shader libraries:" << endl; |
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.
nit: WGSL
to be consistent with acronyms above?
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.
Not sure what you mean here- the case sensitivity?
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.
Yeah the case sensitivity, again nit-picking, not really important all, but I just mean "GLSL..", "ESSL1...", "WGSL..." (instead of "Wgsl..."). (Vulkan and Metal are not acronyms, as far as I am aware). Feel free to take or leave it, just small observation.
Enable the tint conversion codepath to be run when passed via matc.
Add unit test for tint conversion.
Run this new unit test as part of presubmit.