Skip to content

Commit

Permalink
Merge pull request #42962 from Chaosus/fix_shader_texture_funcs
Browse files Browse the repository at this point in the history
Fix textureSize & texelFetch shader compilation errors
  • Loading branch information
Chaosus authored Oct 21, 2020
2 parents 918f035 + 4331831 commit c97dea4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions servers/rendering/rasterizer_rd/shader_compiler_rd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit c97dea4

Please sign in to comment.