Commit 9af4234a authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Ditto

Signed-off-by: Alyssa Rosenzweig's avatarAlyssa Rosenzweig <alyssa@rosenzweig.io>
parent ca7b65c3
......@@ -44,16 +44,10 @@ static int
midgard_compile_shader_nir(nir_shader *nir)
{
nir_foreach_function(func, nir) {
printf("Function: %s\n", func->name);
if (!func->impl)
continue;
nir_function_impl *impl = func->impl;
if (!impl) {
printf("No implementation?\n");
break;
}
nir_foreach_block(block, impl) {
nir_foreach_block(block, func->impl) {
nir_foreach_instr(instr, block) {
nir_print_instr(instr, stdout);
putchar('\n');
......
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