Skip to content

D3D11, D3D10: Enforce stream output declaration rules below feature level 11_0 - #362

Merged
dttdrv merged 1 commit into
mainfrom
d3d11-fl10-stream-output
Nov 26, 2026
Merged

dttdrv merged 1 commit into
mainfrom
d3d11-fl10-stream-output

Conversation

@dttdrv

@dttdrv dttdrv commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Enforces Direct3D 10 stream output declaration rules on Direct3D 11 devices below feature level 11_0 and on Direct3D 10 devices. Below 11_0, only rasterized stream 0 is accepted, at most one buffer stride is allowed (and none without entries), and multi-slot declarations allow one entry per slot. Direct3D 10 accepts a stride only when all entries target slot 0, and both APIs refuse null declaration or stride arrays when their counts are nonzero as well as stride counts above D3D11_SO_BUFFER_SLOT_COUNT. Verified against d3d11_streamout_declarations, d3d11_formats, seven fault patches, and Wine 11.13's d3d11 and d3d10core stream output tests.

@dttdrv
dttdrv merged commit 23fbd7d into main Nov 26, 2026
19 checks passed
@dttdrv
dttdrv deleted the d3d11-fl10-stream-output branch November 26, 2026 23:30
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