From 2f7aa6c2aa173ab2f9a684859ab4c049d9310d01 Mon Sep 17 00:00:00 2001 From: Saracen Date: Wed, 7 Mar 2018 23:56:47 +0000 Subject: [PATCH] Make the shader token names consistent. (cherry picked from commit b095e21d91719cf8f454315aedb70616f914eec1) --- servers/visual/shader_language.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/visual/shader_language.cpp b/servers/visual/shader_language.cpp index 1f66b0ba9df..209c24c45c0 100644 --- a/servers/visual/shader_language.cpp +++ b/servers/visual/shader_language.cpp @@ -124,6 +124,9 @@ const char *ShaderLanguage::token_names[TK_MAX] = { "TYPE_ISAMPLER2D", "TYPE_USAMPLER2D", "TYPE_SAMPLERCUBE", + "INTERPOLATION_FLAT", + "INTERPOLATION_NO_PERSPECTIVE", + "INTERPOLATION_SMOOTH", "PRECISION_LOW", "PRECISION_MID", "PRECISION_HIGH",