Commit 98377b08 authored by Erik Faye-Lund 's avatar Erik Faye-Lund

zink/n2s: debug-print unknown varying slots

parent 6b2ce13f
......@@ -220,7 +220,8 @@ emit_input(struct ntv_context *ctx, struct nir_variable *var)
break;
default:
unreachable("unknown varying slot");
debug_printf("unknown varying slot: %s\n", gl_varying_slot_name(var->data.location));
unreachable("unexpected varying slot");
}
}
} else {
......@@ -276,7 +277,8 @@ emit_output(struct ntv_context *ctx, struct nir_variable *var)
break;
default:
unreachable("unknown varying slot");
debug_printf("unknown varying slot: %s\n", gl_varying_slot_name(var->data.location));
unreachable("unexpected varying slot");
}
}
} else if (ctx->stage == MESA_SHADER_FRAGMENT) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment