#include "tests/test_utils/ShaderExtensionTest.h"
namespace
{
const char EXTPragma[] = …;
const char ESSL100_LastFragDataRedeclared1[] = …;
const char ESSL300_InOut[] = …;
const char ESSL300_InOut2[] = …;
const char ESSL300_InOut3[] = …;
const char ESSL300_InOut4[] = …;
const char ESSL300_InOut5[] = …;
const char ESSL300_InOut6[] = …;
class EXTShaderFramebufferFetchNoncoherentTest : public sh::ShaderExtensionTest
{ … };
class EXTShaderFramebufferFetchNoncoherentES100Test
: public EXTShaderFramebufferFetchNoncoherentTest
{ … };
TEST_P(EXTShaderFramebufferFetchNoncoherentES100Test, CompileFailsWithoutExtension)
{ … }
TEST_P(EXTShaderFramebufferFetchNoncoherentES100Test, CompileFailsWithExtensionWithoutPragma)
{ … }
class EXTShaderFramebufferFetchNoncoherentES300Test
: public EXTShaderFramebufferFetchNoncoherentTest
{ … };
TEST_P(EXTShaderFramebufferFetchNoncoherentES300Test, CompileFailsWithoutExtension)
{ … }
TEST_P(EXTShaderFramebufferFetchNoncoherentES300Test, CompileFailsWithExtensionWithoutPragma)
{ … }
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
#if defined(ANGLE_ENABLE_VULKAN)
const char ESSL100_LastFragDataWithoutRedeclaration[] = …;
const char ESSL100_LastFragDataRedeclaredWithoutNoncoherent[] = …;
const char ESSL300_InOutWithoutNoncoherent[] = …;
class EXTShaderFramebufferFetchNoncoherentSuccessTest
: public EXTShaderFramebufferFetchNoncoherentTest
{ … };
class EXTShaderFramebufferFetchNoncoherentFailureTest
: public EXTShaderFramebufferFetchNoncoherentSuccessTest
{ … };
class EXTShaderFramebufferFetchNoncoherentES100SuccessTest
: public EXTShaderFramebufferFetchNoncoherentSuccessTest
{ … };
class EXTShaderFramebufferFetchNoncoherentES100FailureTest
: public EXTShaderFramebufferFetchNoncoherentFailureTest
{ … };
TEST_P(EXTShaderFramebufferFetchNoncoherentES100SuccessTest, CompileSucceedsWithExtensionAndPragma)
{ … }
TEST_P(EXTShaderFramebufferFetchNoncoherentES100FailureTest, CompileFailsWithoutNoncoherent)
{ … }
class EXTShaderFramebufferFetchNoncoherentES300SuccessTest
: public EXTShaderFramebufferFetchNoncoherentSuccessTest
{ … };
class EXTShaderFramebufferFetchNoncoherentES300FailureTest
: public EXTShaderFramebufferFetchNoncoherentFailureTest
{ … };
TEST_P(EXTShaderFramebufferFetchNoncoherentES300SuccessTest, CompileSucceedsWithExtensionAndPragma)
{ … }
TEST_P(EXTShaderFramebufferFetchNoncoherentES300FailureTest, CompileFailsWithoutNoncoherent)
{ … }
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
INSTANTIATE_TEST_SUITE_P(…);
#endif
}