mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-15 02:56:50 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user