Home | History | Annotate | Download | only in swr

Lines Matching defs:blendState

71       SWR_RENDER_TARGET_BLEND_STATE &blendState =
72 state->blendState.renderTarget[target];
105 blendState.writeDisableRed =
107 blendState.writeDisableGreen =
109 blendState.writeDisableBlue =
111 blendState.writeDisableAlpha =
1378 SWR_BLEND_STATE blendState;
1379 memcpy(&blendState, &ctx->blend->blendState, sizeof(blendState));
1380 blendState.constantColor[0] = ctx->blend_color.color[0];
1381 blendState.constantColor[1] = ctx->blend_color.color[1];
1382 blendState.constantColor[2] = ctx->blend_color.color[2];
1383 blendState.constantColor[3] = ctx->blend_color.color[3];
1384 blendState.alphaTestReference =
1388 blendState.sampleMask = 0;
1389 blendState.sampleCount = SWR_MULTISAMPLE_1X;
1394 blendState.renderTarget[0].writeDisableRed = 1;
1395 blendState.renderTarget[0].writeDisableGreen = 1;
1396 blendState.renderTarget[0].writeDisableBlue = 1;
1397 blendState.renderTarget[0].writeDisableAlpha = 1;
1414 memcpy(&compileState.blendState,
1416 sizeof(compileState.blendState));
1419 if (compileState.blendState.logicOpEnable &&
1421 compileState.blendState.logicOpEnable = false;
1425 compileState.blendState.blendEnable = false;
1427 if (compileState.blendState.blendEnable == false &&
1428 compileState.blendState.logicOpEnable == false &&
1437 (compileState.blendState.sourceBlendFactor !=
1438 compileState.blendState.sourceAlphaBlendFactor) ||
1439 (compileState.blendState.destBlendFactor !=
1440 compileState.blendState.destAlphaBlendFactor) ||
1441 (compileState.blendState.colorBlendFunc !=
1442 compileState.blendState.alphaBlendFunc);
1469 SwrSetBlendState(ctx->swrContext, &blendState);