aco: rework the way various compilation/validation errors are reported
[mesa.git] / src / amd / compiler / aco_register_allocation.cpp
index 862b00d859b6d97f4553057aa9673f5391f4ec86..ca7a0fa4815745a3db6906f60bf0fcbcd013183f 100644 (file)
@@ -1259,7 +1259,7 @@ PhysReg get_reg(ra_ctx& ctx,
 
    //FIXME: if nothing helps, shift-rotate the registers to make space
 
-   fprintf(stderr, "ACO: failed to allocate registers during shader compilation\n");
+   aco_err(ctx.program, "Failed to allocate registers during shader compilation.");
    abort();
 }