source = rc_pair_alloc_source(pair, srcrgb, srcalpha,
inst->SrcReg[i].File, inst->SrcReg[i].Index);
if (source < 0) {
- rc_error(c, "Failed to translate "
+ rc_error(&c->Base, "Failed to translate "
"rgb instruction.\n");
return;
}
source = rc_pair_alloc_source(pair, srcrgb, srcalpha,
inst->SrcReg[i].File, inst->SrcReg[i].Index);
if (source < 0) {
- rc_error(c, "Failed to translate "
+ rc_error(&c->Base, "Failed to translate "
"alpha instruction.\n");
return;
}
*/
#include "radeon_remove_constants.h"
+#include "radeon_dataflow.h"
static void remap_regs(void * userdata, struct rc_instruction * inst,
rc_register_file * pfile, unsigned int * pindex)