gallium: adapt util code to blend changes
This commit is contained in:
@@ -92,7 +92,7 @@ util_create_blit(struct pipe_context *pipe, struct cso_context *cso)
|
||||
|
||||
/* disabled blending/masking */
|
||||
memset(&ctx->blend, 0, sizeof(ctx->blend));
|
||||
ctx->blend.colormask = PIPE_MASK_RGBA;
|
||||
ctx->blend.rt[0].colormask = PIPE_MASK_RGBA;
|
||||
|
||||
/* no-op depth/stencil/alpha */
|
||||
memset(&ctx->depthstencil, 0, sizeof(ctx->depthstencil));
|
||||
|
||||
@@ -125,7 +125,7 @@ struct blitter_context *util_blitter_create(struct pipe_context *pipe)
|
||||
memset(&blend, 0, sizeof(blend));
|
||||
ctx->blend_keep_color = pipe->create_blend_state(pipe, &blend);
|
||||
|
||||
blend.colormask = PIPE_MASK_RGBA;
|
||||
blend.rt[0].colormask = PIPE_MASK_RGBA;
|
||||
ctx->blend_write_color = pipe->create_blend_state(pipe, &blend);
|
||||
|
||||
/* depth stencil alpha state objects */
|
||||
|
||||
@@ -1287,7 +1287,7 @@ util_create_gen_mipmap(struct pipe_context *pipe,
|
||||
|
||||
/* disabled blending/masking */
|
||||
memset(&ctx->blend, 0, sizeof(ctx->blend));
|
||||
ctx->blend.colormask = PIPE_MASK_RGBA;
|
||||
ctx->blend.rt[0].colormask = PIPE_MASK_RGBA;
|
||||
|
||||
/* no-op depth/stencil/alpha */
|
||||
memset(&ctx->depthstencil, 0, sizeof(ctx->depthstencil));
|
||||
|
||||
Reference in New Issue
Block a user