Skip to content

D3D11: Deferred context refcount, input layout alignment, empty buffer SRV, logic op, and SwapDeviceContextState - #361

Merged
dttdrv merged 1 commit into
mainfrom
d3d11-refs-alignment
Nov 26, 2026
Merged

dttdrv merged 1 commit into
mainfrom
d3d11-refs-alignment

Conversation

@dttdrv

@dttdrv dttdrv commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Fixes five Direct3D 11 validation and state rules covered by Wine 11.13's d3d11 and d3d10core tests. A deferred context's recording command list now holds a private device reference so the context holds one public device reference. Input element offsets out of min(4, format size) alignment are refused, buffer SRVs with zero elements are refused, logic ops on render target 0 with IndependentBlendEnable are refused, and SwapDeviceContextState on a deferred context does nothing and returns no previous state. Each rule has a regression test and fault patch, and all six Wine 11.13 conformance tests now pass.

@dttdrv
dttdrv merged commit d7f6c9c into main Nov 26, 2026
19 checks passed
@dttdrv
dttdrv deleted the d3d11-refs-alignment branch November 26, 2026 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant