summaryrefslogtreecommitdiffstats
path: root/servers/rendering/shader_preprocessor.h
diff options
context:
space:
mode:
authorJohan Aires Rastén <johan@oljud.se>2023-04-06 16:50:16 +0200
committerJohan Aires Rastén <johan@oljud.se>2023-08-08 10:56:20 +0200
commit6e1f68109be810ab9e99bc5f00273e91be3a3be5 (patch)
tree0ccb36dca31f4043acb88170f7f62ace6d4e1c43 /servers/rendering/shader_preprocessor.h
parenteca6f0eb545166708c56633152974f40f51de2be (diff)
downloadredot-engine-6e1f68109be810ab9e99bc5f00273e91be3a3be5.tar.gz
Support shader preprocessor concatenation symbol
Diffstat (limited to 'servers/rendering/shader_preprocessor.h')
-rw-r--r--servers/rendering/shader_preprocessor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/rendering/shader_preprocessor.h b/servers/rendering/shader_preprocessor.h
index 406b663228..9448a97d68 100644
--- a/servers/rendering/shader_preprocessor.h
+++ b/servers/rendering/shader_preprocessor.h
@@ -205,6 +205,7 @@ private:
Error expand_macros(const String &p_string, int p_line, String &r_result);
bool expand_macros_once(const String &p_line, int p_line_number, const RBMap<String, Define *>::Element *p_define_pair, String &r_expanded);
bool find_match(const String &p_string, const String &p_value, int &r_index, int &r_index_start);
+ void concatenate_macro_body(String &r_body);
String next_directive(Tokenizer *p_tokenizer, const Vector<String> &p_directives);
void add_to_output(const String &p_str);