Commit f5142805 authored by Iago Toral's avatar Iago Toral Committed by Marge Bot
Browse files

broadcom/compiler: track if a shader has control barriers in prog_data


Reviewed-by: Alejandro Piñeiro's avatarAlejandro Piñeiro <apinheiro@igalia.com>
Part-of: <!10541>
parent 2e0f6e57
......@@ -833,6 +833,8 @@ struct v3d_prog_data {
bool single_seg;
bool tmu_dirty_rcl;
bool has_control_barrier;
};
struct v3d_vs_prog_data {
......
......@@ -812,6 +812,7 @@ v3d_set_prog_data(struct v3d_compile *c,
prog_data->single_seg = !c->last_thrsw;
prog_data->spill_size = c->spill_size;
prog_data->tmu_dirty_rcl = c->tmu_dirty_rcl;
prog_data->has_control_barrier = c->s->info.uses_control_barrier;
v3d_set_prog_data_uniforms(c, prog_data);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment