summaryrefslogtreecommitdiff
path: root/servers/rendering/shader_language.h
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2020-07-01 11:55:49 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2020-07-01 12:55:00 +0300
commitc554d9e5565252313b1f31783e93edfd2fc9ea03 (patch)
tree46a7497146e211b9b2e700d44474745517cf75f2 /servers/rendering/shader_language.h
parent719609522a30fa9e3b96b028ac5a1d1a65f1678f (diff)
Added const qualifier support for function arguments in shaders
Diffstat (limited to 'servers/rendering/shader_language.h')
-rw-r--r--servers/rendering/shader_language.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering/shader_language.h b/servers/rendering/shader_language.h
index bc8f03774a..faf06a9a85 100644
--- a/servers/rendering/shader_language.h
+++ b/servers/rendering/shader_language.h
@@ -554,6 +554,7 @@ public:
TextureRepeat tex_argument_repeat;
bool tex_builtin_check;
StringName tex_builtin;
+ bool is_const;
Map<StringName, Set<int>> tex_argument_connect;
};