Don't test MSAA with A8_UNORM formats in VK_Texture_Zoo

* This is apparently in a format capability class to R8 it seems, and since we
  don't expect anyone to be rendering to A8 let alone in MSAA, there's no point
  in testing this.
This commit is contained in:
baldurk
2025-04-28 17:26:53 +01:00
parent d239a59ff0
commit 395d8079e6
+3
View File
@@ -555,6 +555,9 @@ void main()
if(!renderable && !depth)
props2D.sampleCounts = VK_SAMPLE_COUNT_1_BIT;
if(f.texFmt == VK_FORMAT_A8_UNORM)
props2D.sampleCounts = VK_SAMPLE_COUNT_1_BIT;
if((props.optimalTilingFeatures & VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT) || depth)
{
// TODO: disable 1D depth textures for now, we don't support displaying them