diff --git a/GPU/Common/ShaderTranslation.cpp b/GPU/Common/ShaderTranslation.cpp index 1160965add..fdf79d5c68 100644 --- a/GPU/Common/ShaderTranslation.cpp +++ b/GPU/Common/ShaderTranslation.cpp @@ -113,6 +113,7 @@ static const Builtin builtins[] = { static const Builtin replacements[] = { { "mix(", "lerp(" }, + { "fract(", "frac(" }, }; static const char *cbufferDecl = R"(