Skip to content

D3D11: Refuse D3D11_RESOURCE_MISC_GDI_COMPATIBLE on buffers, non-default textures, and non-BGRA formats - #363

Merged
dttdrv merged 1 commit into
mainfrom
d3d11-gdi-rules
Nov 26, 2026
Merged

dttdrv merged 1 commit into
mainfrom
d3d11-gdi-rules

Conversation

@dttdrv

@dttdrv dttdrv commented Nov 26, 2026

Copy link
Copy Markdown
Owner

Rejects D3D11_RESOURCE_MISC_GDI_COMPATIBLE on buffers and on textures that are not DEFAULT usage with B8G8R8A8_UNORM, B8G8R8A8_TYPELESS, or B8G8R8A8_UNORM_SRGB, matching Windows and Wine's d3d11 test_getdc and d3d10core test_create_buffer. Verified with d3d11_surface, d3d10_device, dxgi_swapchain_flags, three fault patches, and Wine 11.13 conformance tests (d3d10core test_create_buffer now passes and d3d11 test_getdc drops from 16 failures to 3 unrelated DIB size checks).

@dttdrv
dttdrv merged commit 0f22b2c into main Nov 26, 2026
19 checks passed
@dttdrv
dttdrv deleted the d3d11-gdi-rules branch November 26, 2026 23:44
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