From 86f0be7724fbb8ba3e13653adc6ea907e2c9193c Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Thu, 23 Feb 2017 20:29:53 +0100 Subject: [PATCH] Another shader function replacement --- GPU/Common/ShaderTranslation.cpp | 1 + 1 file changed, 1 insertion(+) 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"(