diff options
author | Yuri Rubinsky <chaosus89@gmail.com> | 2022-08-12 12:51:03 +0300 |
---|---|---|
committer | Yuri Rubinsky <chaosus89@gmail.com> | 2022-08-12 20:44:57 +0300 |
commit | e21aad968d6c28ae3dafbae61303267e2d06125c (patch) | |
tree | 2eddf5bdd82396af78e23e15450701707d008ab5 /servers/rendering/shader_compiler.cpp | |
parent | 67d40155206e7c15575ec9bd5b609075784ed746 (diff) |
Add `textureQueryLod/Levels` functions to the shader language
Diffstat (limited to 'servers/rendering/shader_compiler.cpp')
-rw-r--r-- | servers/rendering/shader_compiler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/servers/rendering/shader_compiler.cpp b/servers/rendering/shader_compiler.cpp index 7637eae4a6..7e38977d14 100644 --- a/servers/rendering/shader_compiler.cpp +++ b/servers/rendering/shader_compiler.cpp @@ -1436,6 +1436,8 @@ void ShaderCompiler::initialize(DefaultIdentifierActions p_actions) { texture_functions.insert("textureGrad"); texture_functions.insert("textureGather"); texture_functions.insert("textureSize"); + texture_functions.insert("textureQueryLod"); + texture_functions.insert("textureQueryLevels"); texture_functions.insert("texelFetch"); } |