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

@abesmon abesmon 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 setting Native policy BC1 allocation BC1/BC3/BC7 byte round-trip Result
auto false 64 KiB transformed by emulation render passed
auto unset 32 KiB exact render passed
auto true 32 KiB exact render passed
none false 32 KiB exact explicit mode remained authoritative
full false or true emulated transformed explicit 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-25 Aug 31, 2026
1 check passed
@abesmon
abesmon deleted the pr/real-bcn-for-nvidia branch August 31, 2026 10:56
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