diff options
Diffstat (limited to 'src/gallium/drivers/v3d/v3dx_emit.c')
-rw-r--r-- | src/gallium/drivers/v3d/v3dx_emit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/v3d/v3dx_emit.c b/src/gallium/drivers/v3d/v3dx_emit.c index adaf5f6c139..2063f5e1162 100644 --- a/src/gallium/drivers/v3d/v3dx_emit.c +++ b/src/gallium/drivers/v3d/v3dx_emit.c @@ -291,7 +291,7 @@ emit_rt_blend(struct v3d_context *v3d, struct v3d_job *job, if (blend->independent_blend_enable) config.render_target_mask = 1 << rt; else - config.render_target_mask = (1 << VC5_MAX_DRAW_BUFFERS) - 1; + config.render_target_mask = (1 << V3D_MAX_DRAW_BUFFERS) - 1; #else assert(rt == 0); #endif @@ -588,7 +588,7 @@ v3dX(emit_state)(struct pipe_context *pctx) #endif if (blend->base.independent_blend_enable) { - for (int i = 0; i < VC5_MAX_DRAW_BUFFERS; i++) + for (int i = 0; i < V3D_MAX_DRAW_BUFFERS; i++) emit_rt_blend(v3d, job, &blend->base, i); } else { emit_rt_blend(v3d, job, &blend->base, 0); |