Skip to content

Update Tint to 9b78c1e #114

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

Merged
merged 1 commit into from
Mar 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion external/tint/source
Submodule source updated from 3242d3 to 9b78c1
6 changes: 5 additions & 1 deletion src/ShaderPlayground.Core/Compilers/Tint/TintCompiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ internal sealed class TintCompiler : IShaderCompiler
LanguageNames.SpirvAssembly,
LanguageNames.Wgsl,
LanguageNames.Metal,
LanguageNames.Hlsl
LanguageNames.Hlsl,
LanguageNames.Glsl
})
};

Expand Down Expand Up @@ -116,6 +117,9 @@ private static bool RunTint(string exePath, ShaderCode code, string stage, strin
case LanguageNames.Hlsl:
args.Add("--format hlsl");
break;
case LanguageNames.Glsl:
args.Add("--format glsl");
break;
}

if (stage != AllShaderStages)
Expand Down