Enable blending for floating point formats
authorMika Isojärvi <misojarvi@google.com>
Mon, 21 Mar 2016 19:00:16 +0000 (12:00 -0700)
committerMika Isojärvi <misojarvi@google.com>
Mon, 21 Mar 2016 19:00:16 +0000 (12:00 -0700)
Bug: 27745776
Change-Id: I87bf11473eb45048d6c79d61b2248ac1c07072de

modules/gles31/functional/es31fDrawBuffersIndexedTests.cpp

index a8f144ca1f68e813371b1c16359a3542efb35783..171d05c430e0942498a23aec0e7336a22de9a80c 100644 (file)
@@ -661,7 +661,9 @@ rr::RenderState createRenderState (const BlendState& preCommonBlendState, const
        else
                state.fragOps.blendMode = rr::BLENDMODE_NONE;
 
-       if (tcu::getTextureChannelClass(info.getFormat().type) != tcu::TEXTURECHANNELCLASS_SIGNED_FIXED_POINT && tcu::getTextureChannelClass(info.getFormat().type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT)
+       if (tcu::getTextureChannelClass(info.getFormat().type) != tcu::TEXTURECHANNELCLASS_SIGNED_FIXED_POINT
+               && tcu::getTextureChannelClass(info.getFormat().type) != tcu::TEXTURECHANNELCLASS_UNSIGNED_FIXED_POINT
+               && tcu::getTextureChannelClass(info.getFormat().type) != tcu::TEXTURECHANNELCLASS_FLOATING_POINT)
                state.fragOps.blendMode = rr::BLENDMODE_NONE;
 
        return state;