Merge pull request #42962 from Chaosus/fix_shader_texture_funcs

Fix textureSize & texelFetch shader compilation errors
This commit is contained in:
Yuri Roubinsky 2020-10-21 17:59:23 +03:00 committed by GitHub
commit c97dea47b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

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() {