broadcom: make vir_emit_last_thrsw() private
This function is only used in v3d_nir_to_vir(), so make it private. Reviewed-by: Iago Toral Quiroga <itoral@igalia.com> Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12322>
This commit is contained in:

committed by
Marge Bot

parent
fb5deb2b4a
commit
53c8b4c093
@@ -3913,7 +3913,7 @@ vir_remove_thrsw(struct v3d_compile *c)
|
|||||||
c->last_thrsw = NULL;
|
c->last_thrsw = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
vir_emit_last_thrsw(struct v3d_compile *c)
|
vir_emit_last_thrsw(struct v3d_compile *c)
|
||||||
{
|
{
|
||||||
/* On V3D before 4.1, we need a TMU op to be outstanding when thread
|
/* On V3D before 4.1, we need a TMU op to be outstanding when thread
|
||||||
|
@@ -1057,7 +1057,6 @@ void vir_set_unpack(struct qinst *inst, int src,
|
|||||||
void vir_set_pack(struct qinst *inst, enum v3d_qpu_output_pack pack);
|
void vir_set_pack(struct qinst *inst, enum v3d_qpu_output_pack pack);
|
||||||
|
|
||||||
struct qreg vir_get_temp(struct v3d_compile *c);
|
struct qreg vir_get_temp(struct v3d_compile *c);
|
||||||
void vir_emit_last_thrsw(struct v3d_compile *c);
|
|
||||||
void vir_calculate_live_intervals(struct v3d_compile *c);
|
void vir_calculate_live_intervals(struct v3d_compile *c);
|
||||||
int vir_get_nsrc(struct qinst *inst);
|
int vir_get_nsrc(struct qinst *inst);
|
||||||
bool vir_has_side_effects(struct v3d_compile *c, struct qinst *inst);
|
bool vir_has_side_effects(struct v3d_compile *c, struct qinst *inst);
|
||||||
|
Reference in New Issue
Block a user