mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 20:00:11 +01:00
glsl: Don't print blank (function ...) headers for built-ins.
Fixes a regression caused when I added my GLSL ES support.
This commit is contained in:
parent
81f0339398
commit
8fbe968a62
1 changed files with 3 additions and 0 deletions
|
|
@ -153,6 +153,9 @@ void ir_print_visitor::visit(ir_function_signature *ir)
|
|||
|
||||
void ir_print_visitor::visit(ir_function *ir)
|
||||
{
|
||||
if (!ir->has_user_signature())
|
||||
return;
|
||||
|
||||
printf("(function %s\n", ir->name);
|
||||
indentation++;
|
||||
foreach_iter(exec_list_iterator, iter, *ir) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue