freedreno/ir3: fixup register footprint fixup
Small typo resulted in not converting footprint to vec4, meaning that we could potentially ask for quite a few more registers than required Signed-off-by: Rob Clark <robdclark@chromium.org> Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
This commit is contained in:
@@ -118,7 +118,7 @@ fixup_regfootprint(struct ir3_shader_variant *v, uint32_t gpu_id)
|
||||
v->info.max_reg = MAX2(v->info.max_reg, regid >> 3);
|
||||
}
|
||||
} else {
|
||||
v->info.max_reg = MAX2(v->info.max_reg, regid);
|
||||
v->info.max_reg = MAX2(v->info.max_reg, regid >> 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user