diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2020-10-21 17:45:40 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2020-10-21 17:45:40 +0300 |
commit | 433183147ec4bd11f532117b569e99c3d01d7202 (patch) | |
tree | a06c007efde3709b0a7054acc21a80995918b792 /servers | |
parent | 918f03529f42b3fdebbc6f236012e61288db0c3a (diff) |
Fix textureSize & texelFetch shader compilation errors
Diffstat (limited to 'servers')
-rw-r--r-- | servers/rendering/rasterizer_rd/shader_compiler_rd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/rendering/rasterizer_rd/shader_compiler_rd.cpp b/servers/rendering/rasterizer_rd/shader_compiler_rd.cpp index f70ddbb75a..946a83dcf8 100644 --- a/servers/rendering/rasterizer_rd/shader_compiler_rd.cpp +++ b/servers/rendering/rasterizer_rd/shader_compiler_rd.cpp @@ -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() { |