Matteo Bruni (@Mystral) commented about dlls/d3d10_1/tests/d3d10_1.c:
+ winetest_pop_context(); + } + ID3D10BlendState1_Release(bs1); + + ID3D10BlendState_Release(bs); + + /* Default state. */ + v = effect->lpVtbl->GetVariableByName(effect, "default_blend_state"); + ok(v->lpVtbl->IsValid(v), "Invalid variable.\n"); + blend = v->lpVtbl->AsBlend(v); + ok(blend->lpVtbl->IsValid(blend), "Invalid variable.\n"); + + memset(&desc, 0, sizeof(desc)); + hr = blend->lpVtbl->GetBackingStore(blend, 0, &desc); + ok(hr == S_OK, "Got unexpected hr %#lx.\n", hr); + ok(desc.SrcBlend == D3D10_BLEND_ONE, "Unexpected value %d.\n", desc.SrcBlend); Again this could check the AlphaToCoverageEnable and BlendEnable[] values as well.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3930#note_46392