[Docs] (DirectGLES, DirectVulkan): correct what advertising cube map arrays actually unlocks

This commit is contained in:
2026-08-22 22:03:26 -04:00
parent dc543fa905
commit 9bcf0a15a0
2 changed files with 10 additions and 8 deletions
@@ -1148,10 +1148,11 @@ namespace MobileGL::MG_Backend::DirectGLES {
// and a samplerCubeArray shader does not even compile, which is exactly what the POST // and a samplerCubeArray shader does not even compile, which is exactly what the POST
// reports. So the string follows the host capability rather than the version. // reports. So the string follows the host capability rather than the version.
// //
// It is worth naming even though cube map arrays are core at the version claimed, because // Named for the application's benefit rather than the suite's: measured on Adreno 830,
// KHR-GL4*.texture_gather.plain-gather-*-cube-array checks the STRING and has no // KHR-GL43.texture_gather.plain-gather-*-cube-array already passed without the string, so
// core-version fallback - five cases per version list sat NotSupported on a device that // this unlocks no conformance case. It is advertised because the feature is real and
// supports the feature. // because an application that feature-detects cube map arrays off the string (rather than
// off the 4.0 version) would otherwise decline a path this backend serves.
if (cubeMapArraySupported) { if (cubeMapArraySupported) {
extensions.push_back(E_GL_ARB_texture_cube_map_array); extensions.push_back(E_GL_ARB_texture_cube_map_array);
} }
@@ -668,10 +668,11 @@ namespace MobileGL::MG_Backend::DirectVulkan {
// view type cannot be created without the imageCubeArray device feature - so the string // view type cannot be created without the imageCubeArray device feature - so the string
// follows the feature, not the version, exactly as the per-layer attachment bit does. // follows the feature, not the version, exactly as the per-layer attachment bit does.
// //
// Worth naming even though cube map arrays are core at the version claimed, because // Named for the application's benefit rather than the suite's: measured on Adreno 830,
// KHR-GL4*.texture_gather.plain-gather-*-cube-array checks the STRING and has no // KHR-GL43.texture_gather.plain-gather-*-cube-array already passed without the string, so
// core-version fallback - five cases per version list sat NotSupported on a device that // this unlocks no conformance case. It is advertised because the feature is real and
// supports the feature. // because an application that feature-detects cube map arrays off the string (rather than
// off the 4.0 version) would otherwise decline a path this backend serves.
if (cubeMapArraySupported) { if (cubeMapArraySupported) {
extensions.push_back(E_GL_ARB_texture_cube_map_array); extensions.push_back(E_GL_ARB_texture_cube_map_array);
} }