Skip to content

Prefer native BCn in automatic mode for Nvidia too! - #11

Merged
utkarshdalal merged 1 commit into
GameNative:wrapper-25from
abesmon:pr/real-bcn-for-nvidia
Aug 31, 2026
Merged

Prefer native BCn in automatic mode for Nvidia too!#11
utkarshdalal merged 1 commit into
GameNative:wrapper-25from
abesmon:pr/real-bcn-for-nvidia

Conversation

@abesmon

@abesmonabesmon commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

When automatic BCn selection reaches an otherwise unknown driver, use the base driver if it advertises textureCompressionBC and the native policy permits it. The policy defaults on for VK_DRIVER_ID_NVIDIA_PROPRIETARY and can be overridden with WRAPPER_NATIVE_BCN. Existing Qualcomm and Turnip selection, explicit emulation modes, and format-property handling remain unchanged.

Validation

Tested on Nintendo Switch / LineageOS with the switchroot NVIDIA proprietary Vulkan driver.

BCn settingNative policyBC1 allocationBC1/BC3/BC7 byte round-tripResult
autofalse64 KiBtransformed by emulationrender passed
autounset32 KiBexactrender passed
autotrue32 KiBexactrender passed
nonefalse32 KiBexactexplicit mode remained authoritative
fullfalse or trueemulatedtransformedexplicit mode remained authoritative

When automatic BCn selection reaches an otherwise unknown driver, use the base driver if it advertises textureCompressionBC and the native policy permits it. The policy defaults on for VK_DRIVER_ID_NVIDIA_PROPRIETARY and can be overridden with WRAPPER_NATIVE_BCN. Existing Qualcomm and Turnip selection, explicit emulation modes, and format-property handling remain unchanged.
@utkarshdalal
utkarshdalal merged commit 1f2ba00 into GameNative:wrapper-25Aug 31, 2026
1 check passed
@abesmon
abesmon deleted the pr/real-bcn-for-nvidia branch August 31, 2026 10:56
Sign up for freeto 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

@abesmon@utkarshdalal