summaryrefslogtreecommitdiff
path: root/drivers/gles3/shader_compiler_gles3.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-11-09 23:55:06 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-11-09 23:55:06 -0300
commitcacf9ebb7fd8df8845daca9da2fe55456cc179aa (patch)
tree5881cb42ace5001916e9d1843f5a7acbc35332a6 /drivers/gles3/shader_compiler_gles3.h
parent6b2a27bbe5fa112365fc88b9b4678a61293bcb53 (diff)
all light types and shadows are working, pending a lot of clean-up
Diffstat (limited to 'drivers/gles3/shader_compiler_gles3.h')
-rw-r--r--drivers/gles3/shader_compiler_gles3.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/gles3/shader_compiler_gles3.h b/drivers/gles3/shader_compiler_gles3.h
index dcea82d773..3549526808 100644
--- a/drivers/gles3/shader_compiler_gles3.h
+++ b/drivers/gles3/shader_compiler_gles3.h
@@ -32,6 +32,9 @@ public:
String fragment;
String light;
+ bool uses_fragment_time;
+ bool uses_vertex_time;
+
};
private:
@@ -49,6 +52,10 @@ private:
String _dump_node_code(ShaderLanguage::Node *p_node, int p_level, GeneratedCode &r_gen_code, IdentifierActions& p_actions, const DefaultIdentifierActions& p_default_actions);
+ StringName current_func_name;
+ StringName vertex_name;
+ StringName fragment_name;
+ StringName time_name;
Set<StringName> used_name_defines;
Set<StringName> used_rmode_defines;