Lines Matching refs:updateStateBlock

249         pContext->pDeviceContext->updateStateBlock = pContext->pDeviceContext->stateBlock;
407 oldShader = This->updateStateBlock->vertexShader;
415 This->updateStateBlock->vertexShader = pShader;
416 This->updateStateBlock->changed.vertexShader = TRUE;
437 oldShader = This->updateStateBlock->pixelShader;
445 This->updateStateBlock->pixelShader = pShader;
446 This->updateStateBlock->changed.pixelShader = TRUE;
474 memcpy(&This->updateStateBlock->vertexShaderConstantB[start], srcData, cnt * sizeof(BOOL));
479 This->updateStateBlock->changed.vertexShaderConstantsB |= (1 << i);
504 memcpy(&This->updateStateBlock->vertexShaderConstantI[start * 4], srcData, cnt * sizeof(int32_t) * 4);
507 This->updateStateBlock->changed.vertexShaderConstantsI |= (1 << i);
530 memcpy(&This->updateStateBlock->vertexShaderConstantF[start * 4], srcData, count * sizeof(float) * 4);
534 memset(This->updateStateBlock->changed.vertexShaderConstantsF + start, 1,
535 sizeof(*This->updateStateBlock->changed.vertexShaderConstantsF) * count);
559 memcpy(&This->updateStateBlock->pixelShaderConstantB[start], srcData, cnt * sizeof(BOOL));
564 This->updateStateBlock->changed.pixelShaderConstantsB |= (1 << i);
589 memcpy(&This->updateStateBlock->pixelShaderConstantI[start * 4], srcData, cnt * sizeof(int32_t) * 4);
592 This->updateStateBlock->changed.pixelShaderConstantsI |= (1 << i);
616 memcpy(&This->updateStateBlock->pixelShaderConstantF[start * 4], srcData, count * sizeof(float) * 4);
620 memset(This->updateStateBlock->changed.pixelShaderConstantsF + start, 1,
621 sizeof(*This->updateStateBlock->changed.pixelShaderConstantsF) * count);
658 pThis->shader_backend->shader_select(g_pCurrentContext, !!pThis->updateStateBlock->pixelShader, !!pThis->updateStateBlock->vertexShader);
663 pThis->shader_backend->shader_load_constants(g_pCurrentContext, !!pThis->updateStateBlock->pixelShader, !!pThis->updateStateBlock->vertexShader);