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

Ebridgewater/tint conversion validation #8494

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

bridgewaterrobbie
Copy link
Contributor

@bridgewaterrobbie bridgewaterrobbie commented Mar 5, 2025

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.

@bridgewaterrobbie bridgewaterrobbie force-pushed the ebridgewater/tintConversionValidation branch from 2cbff04 to 9173c95 Compare March 6, 2025 18:43
@bridgewaterrobbie bridgewaterrobbie changed the base branch from main to rbridgewater/configMaxSpecConstantWgslFix March 6, 2025 18:43
@bridgewaterrobbie bridgewaterrobbie force-pushed the rbridgewater/configMaxSpecConstantWgslFix branch from a945508 to fcbe436 Compare March 7, 2025 00:14
@bridgewaterrobbie bridgewaterrobbie force-pushed the ebridgewater/tintConversionValidation branch from 9173c95 to 6a0d74d Compare March 7, 2025 00:17
Base automatically changed from rbridgewater/configMaxSpecConstantWgslFix to main March 7, 2025 00:28
@bridgewaterrobbie bridgewaterrobbie force-pushed the ebridgewater/tintConversionValidation branch from 6a0d74d to 07b16d0 Compare March 7, 2025 16:31
@bridgewaterrobbie bridgewaterrobbie added the internal Issue/PR does not affect clients label Mar 7, 2025
@bridgewaterrobbie bridgewaterrobbie force-pushed the ebridgewater/tintConversionValidation branch from d12eb96 to c42be3e Compare March 7, 2025 20:37
@bridgewaterrobbie bridgewaterrobbie force-pushed the ebridgewater/tintConversionValidation branch from c42be3e to 5c9e254 Compare March 7, 2025 20:40
@@ -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";

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?

Copy link
Contributor Author

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;

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?

Copy link
Contributor Author

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?

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Issue/PR does not affect clients
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants