mirror of
https://github.com/BinomialLLC/basis_universal.git
synced 2026-08-15 23:59:35 +00:00
Fixing BASISD_SUPPORT_ATC so if it's set to 0 we check to make sure PVRTC2 is also set to 0
This commit is contained in:
@@ -76,18 +76,6 @@
|
||||
#define BASISD_SUPPORT_ETC2_EAC_RG11 1
|
||||
#endif
|
||||
|
||||
#if BASISD_SUPPORT_PVRTC2
|
||||
#if !BASISD_SUPPORT_ATC
|
||||
#error BASISD_SUPPORT_ATC must be 1 if BASISD_SUPPORT_PVRTC2 is 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if BASISD_SUPPORT_ATC
|
||||
#if !BASISD_SUPPORT_DXT5A
|
||||
#error BASISD_SUPPORT_DXT5A must be 1 if BASISD_SUPPORT_ATC is 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// If BASISD_SUPPORT_ASTC_HIGHER_OPAQUE_QUALITY is 1, opaque blocks will be transcoded to ASTC at slightly higher quality (higher than BC1), but the transcoder tables will be 2x as large.
|
||||
// This impacts grayscale and grayscale+alpha textures the most.
|
||||
#ifndef BASISD_SUPPORT_ASTC_HIGHER_OPAQUE_QUALITY
|
||||
@@ -108,6 +96,18 @@
|
||||
#define BASISD_SUPPORT_PVRTC2 1
|
||||
#endif
|
||||
|
||||
#if BASISD_SUPPORT_PVRTC2
|
||||
#if !BASISD_SUPPORT_ATC
|
||||
#error BASISD_SUPPORT_ATC must be 1 if BASISD_SUPPORT_PVRTC2 is 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if BASISD_SUPPORT_ATC
|
||||
#if !BASISD_SUPPORT_DXT5A
|
||||
#error BASISD_SUPPORT_DXT5A must be 1 if BASISD_SUPPORT_ATC is 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define BASISD_WRITE_NEW_BC7_TABLES 0
|
||||
#define BASISD_WRITE_NEW_BC7_MODE5_TABLES 0
|
||||
#define BASISD_WRITE_NEW_DXT1_TABLES 0
|
||||
|
||||
Reference in New Issue
Block a user