glsl: Use glsl_type C helpers

Acked-by: Jesse Natalie <jenatali@microsoft.com>
Acked-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26707>
This commit is contained in:
Caio Oliveira
2023-12-14 22:21:26 -08:00
parent db5f73dc9f
commit d06f0305f6
45 changed files with 1007 additions and 1025 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ do_dead_code(exec_list *instructions)
}
}
if (entry->var->type->is_subroutine())
if (glsl_type_is_subroutine(entry->var->type))
continue;
}