/* register assignment: */
struct ir3_ra_reg_set * ir3_ra_alloc_reg_set(struct ir3_compiler *compiler);
-int ir3_ra(struct ir3 *ir3, gl_shader_stage type,
- bool frag_coord, bool frag_face);
+int ir3_ra(struct ir3 *ir3);
/* legalize: */
void ir3_legalize(struct ir3 *ir, bool *has_ssbo, bool *need_pixlod, int *max_bary);
/* register-assign context, per-shader */
struct ir3_ra_ctx {
struct ir3 *ir;
- gl_shader_stage type;
- bool frag_face;
struct ir3_ra_reg_set *set;
struct ra_graph *g;
return 0;
}
-int ir3_ra(struct ir3 *ir, gl_shader_stage type,
- bool frag_coord, bool frag_face)
+int ir3_ra(struct ir3 *ir)
{
struct ir3_ra_ctx ctx = {
.ir = ir,
- .type = type,
- .frag_face = frag_face,
.set = ir->compiler->set,
};
int ret;