Skip to content

Set D3DFORMAT_OP_NOALPHABLEND soley based on D3D12_FORMAT_SUPPORT1_BLENDABLE#108

Merged
vdwtanner merged 1 commit intomainfrom
user/tvandewalle/relax_D3DFORMAT_OP_NOALPHABLEND
Apr 9, 2026
Merged

Set D3DFORMAT_OP_NOALPHABLEND soley based on D3D12_FORMAT_SUPPORT1_BLENDABLE#108
vdwtanner merged 1 commit intomainfrom
user/tvandewalle/relax_D3DFORMAT_OP_NOALPHABLEND

Conversation

@vdwtanner
Copy link
Copy Markdown
Collaborator

Ran a bunch of comparison format queries between native9 and 9on12 on my AMD GPU.

Main interesting results:
When just checking for D3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING, the main difference was that native9 reported blendable for block compressed formats, while d3d12's checks don't support that. probably not an issue?

D3DUSAGE_RENDERTARGET | D3DUSAGE_QUERY_POSTPIXELSHADER_BLENDING check showed differences for bump map formats (eg: D3DFMT_Q8W8V8U8 or D3DFMT_V8U8) - 9on12 marks them as not RT while native 9 allows them as RT (on this device). Not changing this for now since there is a comment that indicates that this difference may cause test failures. Unsure of how IHV is working around this, but probably not a big deal.

@vdwtanner vdwtanner requested a review from jenatali April 9, 2026 16:46
@vdwtanner vdwtanner merged commit 3cd2491 into main Apr 9, 2026
4 of 5 checks passed
@vdwtanner vdwtanner deleted the user/tvandewalle/relax_D3DFORMAT_OP_NOALPHABLEND branch April 9, 2026 20:59
vdwtanner added a commit that referenced this pull request Apr 14, 2026
…AT_OP_NOALPHABLEND

Set D3DFORMAT_OP_NOALPHABLEND soley based on D3D12_FORMAT_SUPPORT1_BLENDABLE

(cherry picked from commit 3cd2491)
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.

2 participants