/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fNegativePreciseTests.cpp | 65 const bool supportsES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); in generateShaderSource() local 66 const glu::GLSLVersion version = supportsES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES; in generateShaderSource() 70 << (supportsES32 ? "" : "#extension GL_EXT_gpu_shader5 : enable\n"); in generateShaderSource() 86 source << (supportsES32 ? "" : "#extension GL_EXT_geometry_shader : enable\n") in generateShaderSource() 91 source << (supportsES32 ? "" : "#extension GL_EXT_tessellation_shader : enable\n") in generateShaderSource() 96 source << (supportsES32 ? "" : "#extension GL_EXT_tessellation_shader : enable\n") in generateShaderSource()
|
H A D | es31fFboTestCase.cpp | 157 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in isRequiredFormat() local 215 return supportsES32 || supportsGL45; in isRequiredFormat() 226 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in getEnablingExtensions() local 244 if (!supportsES32) in getEnablingExtensions() 252 if (!supportsES32) in getEnablingExtensions()
|
H A D | es31fNegativeAdvancedBlendEquationTests.cpp | 134 const bool supportsES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); in generateVertexShaderSource() local 135 const glu::GLSLVersion version = supportsES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES; in generateVertexShaderSource() 149 const bool supportsES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); in generateFragmentShaderSource() local 150 const glu::GLSLVersion version = supportsES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES; in generateFragmentShaderSource() 154 << (supportsES32 ? "" : "#extension GL_KHR_blend_equation_advanced : enable\n") in generateFragmentShaderSource()
|
H A D | es31fOpaqueTypeIndexingTests.cpp | 366 const bool supportsES32 = contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)) || in init() local 369 if (!supportsES32) in init() 406 const bool supportsES32 = contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)) || in getShaderSpec() local 413 if (!supportsES32 && m_indexExprType != INDEX_EXPR_TYPE_CONST_LITERAL && m_indexExprType != INDEX_EXPR_TYPE_CONST_EXPRESSION) in getShaderSpec() 416 if (!supportsES32 in getShaderSpec() 463 spec->version = supportsES32 ? GLSL_VERSION_320_ES : GLSL_VERSION_310_ES; in getShaderSpec() 743 const bool supportsES32 = contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)) || in init() local 746 if (!supportsES32) in init() 796 const bool supportsES32 = contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)) || in getShaderSpec() local 801 if (!supportsES32 in getShaderSpec() 993 const bool supportsES32 = contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)) || init() local 1030 const bool supportsES32 = contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)) || getShaderSpec() local [all...] |
H A D | es31fMultisampleShaderRenderCase.cpp | 102 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); 105 args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES); 695 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); 700 args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES); 732 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); 737 args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES);
|
H A D | es31fAdvancedBlendTests.cpp | 213 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in getBlendProgramSrc() local 235 args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES); in getBlendProgramSrc() 236 args["EXTENSION"] = supportsES32 ? "\n" : "#extension GL_KHR_blend_equation_advanced : require\n"; in getBlendProgramSrc()
|
H A D | es31fTextureFormatTests.cpp | 321 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); in init() local 323 if (!supportsES32 in init()
|
H A D | es31fTessellationGeometryInteractionTests.cpp | 1806 const bool supportsES32 = glu::contextSupports(contextType, glu::ApiType::es(3, 2)); 1809 if ((m_flags & (FLAG_TESSELLATION_CONTROL_SET | FLAG_TESSELLATION_EVALUATION_SET | FLAG_TESSELLATION_ADD | FLAG_TESSELLATION_DONT_SET)) && !supportsES32) 1815 if ((m_flags & (m_flags & (FLAG_GEOMETRY_SET | FLAG_GEOMETRY_ADD | FLAG_GEOMETRY_DONT_SET))) && !supportsES32) 2866 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); 2869 if ((!supportsES32 && !supportsCore40) &&
|
H A D | es31fMultisampleTests.cpp | 228 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); in init() local 230 args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES); in init()
|
H A D | es31fNegativeStateApiTests.cpp | 102 const bool supportsES32 = glu::contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); in getVtxFragVersionSources() local 106 args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSLVersionDeclaration(glu::GLSL_VERSION_300_ES); in getVtxFragVersionSources()
|
H A D | es31fDebugTests.cpp | 114 const bool supportsES32 = glu::contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); in isKHRDebugSupported() local 115 return supportsES32 || ctx.getContextInfo().isExtensionSupported("GL_KHR_debug"); in isKHRDebugSupported()
|
H A D | es31fGeometryShaderTests.cpp | 4002 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); 4054 + std::string(supportsES32 ? "" : "#extension GL_EXT_geometry_shader : require\n")
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcTextureCompatibilityTests.cpp | 400 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); in initializeProgram() local 401 const auto glslVersion = glu::getGLSLVersionDeclaration(supportsES32 ? glu::GLSLVersion::GLSL_VERSION_320_ES : glu::GLSLVersion::GLSL_VERSION_310_ES); in initializeProgram()
|
H A D | glcCompressedFormatTests.cpp | 288 const bool supportsES32 = contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); in init() local 289 const auto glslVersion = getGLSLVersionDeclaration(supportsES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES); in init()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fDrawBuffersIndexedTests.cpp | 882 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in genVertexSource() local 895 args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSLVersionDeclaration(glu::GLSL_VERSION_300_ES); in genVertexSource() 903 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in genFragmentSource() local 995 args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSLVersionDeclaration(glu::GLSL_VERSION_300_ES); in genFragmentSource() 996 args["GLSL_EXTENSION"] = supportsES32 ? "\n" : "#extension GL_KHR_blend_equation_advanced : require\n"; in genFragmentSource()
|