• Home
  • Raw
  • Download

Lines Matching refs:compileState

76       RENDER_TARGET_BLEND_COMPILE_STATE &compileState =  in swr_create_blend_state()  local
77 state->compileState[target]; in swr_create_blend_state()
80 memcpy(&compileState, in swr_create_blend_state()
81 &state->compileState[0], in swr_create_blend_state()
86 compileState.blendEnable = rt_blend->blend_enable; in swr_create_blend_state()
87 if (compileState.blendEnable) { in swr_create_blend_state()
88 compileState.sourceAlphaBlendFactor = in swr_create_blend_state()
90 compileState.destAlphaBlendFactor = in swr_create_blend_state()
92 compileState.sourceBlendFactor = in swr_create_blend_state()
94 compileState.destBlendFactor = in swr_create_blend_state()
97 compileState.colorBlendFunc = in swr_create_blend_state()
99 compileState.alphaBlendFunc = in swr_create_blend_state()
102 compileState.logicOpEnable = state->pipe.logicop_enable; in swr_create_blend_state()
103 if (compileState.logicOpEnable) { in swr_create_blend_state()
104 compileState.logicOpFunc = in swr_create_blend_state()
118 compileState.blendEnable = false; in swr_create_blend_state()
1671 BLEND_COMPILE_STATE compileState; in swr_update_derived() local
1672 memset(&compileState, 0, sizeof(compileState)); in swr_update_derived()
1673 compileState.format = colorBuffer->swr.format; in swr_update_derived()
1674 memcpy(&compileState.blendState, in swr_update_derived()
1675 &ctx->blend->compileState[target], in swr_update_derived()
1676 sizeof(compileState.blendState)); in swr_update_derived()
1678 const SWR_FORMAT_INFO& info = GetFormatInfo(compileState.format); in swr_update_derived()
1679 if (compileState.blendState.logicOpEnable && in swr_update_derived()
1681 compileState.blendState.logicOpEnable = false; in swr_update_derived()
1685 compileState.blendState.blendEnable = false; in swr_update_derived()
1687 if (compileState.blendState.blendEnable == false && in swr_update_derived()
1688 compileState.blendState.logicOpEnable == false && in swr_update_derived()
1694 compileState.desc.alphaTestEnable = in swr_update_derived()
1696 compileState.desc.independentAlphaBlendEnable = in swr_update_derived()
1697 (compileState.blendState.sourceBlendFactor != in swr_update_derived()
1698 compileState.blendState.sourceAlphaBlendFactor) || in swr_update_derived()
1699 (compileState.blendState.destBlendFactor != in swr_update_derived()
1700 compileState.blendState.destAlphaBlendFactor) || in swr_update_derived()
1701 (compileState.blendState.colorBlendFunc != in swr_update_derived()
1702 compileState.blendState.alphaBlendFunc); in swr_update_derived()
1703 compileState.desc.alphaToCoverageEnable = in swr_update_derived()
1705 compileState.desc.sampleMaskEnable = (blendState.sampleMask != 0); in swr_update_derived()
1706 compileState.desc.numSamples = fb->samples; in swr_update_derived()
1708 compileState.alphaTestFunction = in swr_update_derived()
1710 compileState.alphaTestFormat = ALPHA_TEST_FLOAT32; // xxx in swr_update_derived()
1712 compileState.Canonicalize(); in swr_update_derived()
1715 auto search = ctx->blendJIT->find(compileState); in swr_update_derived()
1720 func = JitCompileBlend(hJitMgr, compileState); in swr_update_derived()
1724 ctx->blendJIT->insert(std::make_pair(compileState, func)); in swr_update_derived()