mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
i965: Annotate _NEW_COLOR dependency for brw_update_renderbuffer_surface().
This commit is contained in:
parent
683722740c
commit
bfd51dc34d
1 changed files with 2 additions and 1 deletions
|
|
@ -564,6 +564,7 @@ brw_update_renderbuffer_surface(struct brw_context *brw,
|
|||
key.cpp = 4;
|
||||
key.draw_offset = 0;
|
||||
}
|
||||
/* _NEW_COLOR */
|
||||
memcpy(key.color_mask, ctx->Color.ColorMask,
|
||||
sizeof(key.color_mask));
|
||||
key.color_blend = (!ctx->Color._LogicOpEnabled &&
|
||||
|
|
@ -696,7 +697,7 @@ static void prepare_wm_surfaces(struct brw_context *brw )
|
|||
GLuint i;
|
||||
int old_nr_surfaces;
|
||||
|
||||
/* _NEW_BUFFERS */
|
||||
/* _NEW_BUFFERS | _NEW_COLOR */
|
||||
/* Update surfaces for drawing buffers */
|
||||
if (ctx->DrawBuffer->_NumColorDrawBuffers >= 1) {
|
||||
for (i = 0; i < ctx->DrawBuffer->_NumColorDrawBuffers; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue