Home
last modified time | relevance | path

Searched refs:supportsES32 (Results 1 – 16 of 16) sorted by relevance

/third_party/vk-gl-cts/modules/gles31/functional/
Des31fNegativePreciseTests.cpp65 …const bool supportsES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3,… in generateShaderSource() local
66 …const glu::GLSLVersion version = supportsES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_E… 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()
Des31fNegativeAdvancedBlendEquationTests.cpp134 …const bool supportsES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3,… in generateVertexShaderSource() local
135 …const glu::GLSLVersion version = supportsES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_E… in generateVertexShaderSource()
149 …const bool supportsES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3,… in generateFragmentShaderSource() local
150 …const glu::GLSLVersion version = supportsES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_E… in generateFragmentShaderSource()
154 << (supportsES32 ? "" : "#extension GL_KHR_blend_equation_advanced : enable\n") in generateFragmentShaderSource()
Des31fFboTestCase.cpp157 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()
Des31fOpaqueTypeIndexingTests.cpp366 …const bool supportsES32 = contextSupports(m_context.getRenderContext().getType(), glu::ApiType::… 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_… 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::… 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 && m_indexExprType != INDEX_EXPR_TYPE_CONST_LITERAL && m_indexExprType != INDEX_… in getShaderSpec()
[all …]
Des31fMultisampleShaderRenderCase.cpp102 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::Ap… in init() local
105 …args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : g… in init()
695 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::A… in genMSTextureResolverSource() local
700 …args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : g… in genMSTextureResolverSource()
732 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::A… in genMSTextureLayerFetchSource() local
737 …args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : g… in genMSTextureLayerFetchSource()
Des31fAdvancedBlendTests.cpp213 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) : g… in getBlendProgramSrc()
236 args["EXTENSION"] = supportsES32 ? "\n" : "#extension GL_KHR_blend_equation_advanced : require\n"; in getBlendProgramSrc()
Des31fTextureFormatTests.cpp321 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::Api… in init() local
323 if (!supportsES32 in init()
Des31fDrawBuffersIndexedTests.cpp870 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in genVertexSource() local
883 …args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : g… in genVertexSource()
891 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in genFragmentSource() local
983 …args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : g… in genFragmentSource()
984 …args["GLSL_EXTENSION"] = supportsES32 ? "\n" : "#extension GL_KHR_blend_equation_advanced : requir… in genFragmentSource()
Des31fTessellationGeometryInteractionTests.cpp1806 const bool supportsES32 = glu::contextSupports(contextType, glu::ApiType::es(3, 2)); in checkExtensions() local
1809 …ESSELLATION_EVALUATION_SET | FLAG_TESSELLATION_ADD | FLAG_TESSELLATION_DONT_SET)) && !supportsES32) in checkExtensions()
1815 …s & (m_flags & (FLAG_GEOMETRY_SET | FLAG_GEOMETRY_ADD | FLAG_GEOMETRY_DONT_SET))) && !supportsES32) in checkExtensions()
2863 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in init() local
2866 if ((!supportsES32 && !supportsCore40) && in init()
Des31fMultisampleTests.cpp228 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::Ap… in init() local
230 …args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : g… in init()
Des31fNegativeStateApiTests.cpp102 …const bool supportsES32 = glu::contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(… in getVtxFragVersionSources() local
106 …args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : g… in getVtxFragVersionSources()
Des31fDebugTests.cpp114 …const bool supportsES32 = glu::contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(… in isKHRDebugSupported() local
115 return supportsES32 || ctx.getContextInfo().isExtensionSupported("GL_KHR_debug"); in isKHRDebugSupported()
Des31fGeometryShaderTests.cpp4002 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::Ap… in iterate() local
4054 + std::string(supportsES32 ? "" : "#extension GL_EXT_geometry_shader : require\n") in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcTextureCompatibilityTests.cpp400 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in initializeProgram() local
401 …const auto glslVersion = glu::getGLSLVersionDeclaration(supportsES32 ? glu::GLSLVersion::GLSL_VER… in initializeProgram()
DglcCompressedFormatTests.cpp288 …const bool supportsES32 = contextSupports(m_context.getRenderContext().getType(), glu::ApiType::e… in init() local
289 …const auto glslVersion = getGLSLVersionDeclaration(supportsES32 ? glu::GLSL_VERSION_320_ES : glu… in init()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fDrawBuffersIndexedTests.cpp882 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) : g… 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) : g… in genFragmentSource()
996 …args["GLSL_EXTENSION"] = supportsES32 ? "\n" : "#extension GL_KHR_blend_equation_advanced : requir… in genFragmentSource()