Lines Matching defs:wmds

1496    uint32_t wmds[GENX(3DSTATE_WM_DEPTH_STENCIL_length)];
1542 iris_pack_command(GENX(3DSTATE_WM_DEPTH_STENCIL), cso->wmds, wmds) {
1543 wmds.StencilFailOp = state->stencil[0].fail_op;
1544 wmds.StencilPassDepthFailOp = state->stencil[0].zfail_op;
1545 wmds.StencilPassDepthPassOp = state->stencil[0].zpass_op;
1546 wmds.StencilTestFunction =
1548 wmds.BackfaceStencilFailOp = state->stencil[1].fail_op;
1549 wmds.BackfaceStencilPassDepthFailOp = state->stencil[1].zfail_op;
1550 wmds.BackfaceStencilPassDepthPassOp = state->stencil[1].zpass_op;
1551 wmds.BackfaceStencilTestFunction =
1553 wmds.DepthTestFunction = translate_compare_func(state->depth_func);
1554 wmds.DoubleSidedStencilEnable = two_sided_stencil;
1555 wmds.StencilTestEnable = state->stencil[0].enabled;
1556 wmds.StencilBufferWriteEnable =
1559 wmds.DepthTestEnable = state->depth_enabled;
1560 wmds.DepthBufferWriteEnable = state->depth_writemask;
1561 wmds.StencilTestMask = state->stencil[0].valuemask;
1562 wmds.StencilWriteMask = state->stencil[0].writemask;
1563 wmds.BackfaceStencilTestMask = state->stencil[1].valuemask;
1564 wmds.BackfaceStencilWriteMask = state->stencil[1].writemask;
1565 /* wmds.[Backface]StencilReferenceValue are merged later */
1567 wmds.StencilReferenceValueModifyDisable = true;
6432 iris_pack_command(GENX(3DSTATE_WM_DEPTH_STENCIL), &stencil_refs, wmds) {
6433 wmds.StencilReferenceValue = p_stencil_refs->ref_value[0];
6434 wmds.BackfaceStencilReferenceValue = p_stencil_refs->ref_value[1];
6436 iris_emit_merge(batch, cso->wmds, stencil_refs, ARRAY_SIZE(cso->wmds));
6441 iris_batch_emit(batch, cso->wmds, sizeof(cso->wmds));
6456 iris_pack_command(GENX(3DSTATE_WM_DEPTH_STENCIL), &stencil_refs, wmds) {
6457 wmds.StencilReferenceValue = p_stencil_refs->ref_value[0];
6458 wmds.BackfaceStencilReferenceValue = p_stencil_refs->ref_value[1];
6459 wmds.StencilTestMaskModifyDisable = true;
6460 wmds.StencilWriteMaskModifyDisable = true;
6461 wmds.StencilStateModifyDisable = true;
6462 wmds.DepthStateModifyDisable = true;