1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

Fixes to get Godot running again on Intel IGP

-Fixed strange bug with shadowed instance_param (this should not have worked anywhere, odd..)
-Cleaned up barrier usage further.
This commit is contained in:
reduz
2021-02-05 00:02:06 -03:00
parent 779dc76130
commit 33278b0721
4 changed files with 25 additions and 16 deletions

View File

@@ -111,7 +111,7 @@ void main() {
color_interp = color_attrib;
#endif
uint instance_index = draw_call.instance_index;
instance_index = draw_call.instance_index;
bool is_multimesh = bool(instances.data[instance_index].flags & INSTANCE_FLAGS_MULTIMESH);
if (!is_multimesh) {