Fix textureSize & texelFetch shader compilation errors

This commit is contained in:
Yuri Roubinsky 2020-10-21 17:45:40 +03:00
parent 918f03529f
commit 433183147e

View File

@ -1295,6 +1295,8 @@ void ShaderCompilerRD::initialize(DefaultIdentifierActions p_actions) {
texture_functions.insert("textureLod");
texture_functions.insert("textureProjLod");
texture_functions.insert("textureGrad");
texture_functions.insert("textureSize");
texture_functions.insert("texelFetch");
}
ShaderCompilerRD::ShaderCompilerRD() {