/external/deqp/modules/gles31/functional/ |
D | es31fNegativePreciseTests.cpp | 65 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); in generateShaderSource() local 66 const glu::GLSLVersion version = isES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES; in generateShaderSource() 70 << (isES32 ? "" : "#extension GL_EXT_gpu_shader5 : enable\n"); in generateShaderSource() 86 source << (isES32 ? "" : "#extension GL_EXT_geometry_shader : enable\n") in generateShaderSource() 91 source << (isES32 ? "" : "#extension GL_EXT_tessellation_shader : enable\n") in generateShaderSource() 96 source << (isES32 ? "" : "#extension GL_EXT_tessellation_shader : enable\n") in generateShaderSource()
|
D | es31fProgramStateQueryTests.cpp | 83 …const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(… in iterate() local 85 if (!isES32 && !m_context.getContextInfo().isExtensionSupported("GL_EXT_geometry_shader")) in iterate() 122 …args["GLSL_VERSION_STRING"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) :… in iterate() 123 args["GLSL_EXTENSION_STRING"] = isES32 ? "" : "#extension GL_EXT_geometry_shader : enable"; in iterate() 201 …const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(… in iterate() local 203 if (!isES32 && !m_context.getContextInfo().isExtensionSupported("GL_EXT_tessellation_shader")) in iterate() 248 …args["GLSL_VERSION_STRING"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) :… in iterate() 249 …args["GLSL_EXTENSION_STRING"] = isES32 ? "" : "#extension GL_EXT_tessellation_shader : enabl… in iterate() 335 …const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::Api… in iterate() local 337 …const string vtxTemplate = string(isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES)… in iterate() [all …]
|
D | es31fSampleVariableTests.cpp | 279 …const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(… in init() local 280 if (!isES32 && !m_context.getContextInfo().isExtensionSupported("GL_OES_sample_variables")) in init() 314 …const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::e… in genFragmentSource() local 316 …args["GLSL_VERSION_DECL"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSL… in genFragmentSource() 317 args["GLSL_EXTENSION"] = isES32 ? "" : "#extension GL_OES_sample_variables : require"; in genFragmentSource() 394 …const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::e… in genFragmentSource() local 396 …args["GLSL_VERSION_DECL"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSL… in genFragmentSource() 397 args["GLSL_EXTENSION"] = isES32 ? "" : "#extension GL_OES_sample_variables : require"; in genFragmentSource() 481 …const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::e… in genFragmentSource() local 483 …args["GLSL_VERSION_DECL"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSL… in genFragmentSource() [all …]
|
D | es31fNegativeAdvancedBlendEquationTests.cpp | 134 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); in generateVertexShaderSource() local 135 const glu::GLSLVersion version = isES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES; in generateVertexShaderSource() 149 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); in generateFragmentShaderSource() local 150 const glu::GLSLVersion version = isES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES; in generateFragmentShaderSource() 154 << (isES32 ? "" : "#extension GL_KHR_blend_equation_advanced : enable\n") in generateFragmentShaderSource()
|
D | es31fShaderMultisampleInterpolationStateQueryTests.cpp | 81 …const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(… in init() local 83 …if (!isES32 && !m_context.getContextInfo().isExtensionSupported("GL_OES_shader_multisample_interpo… in init() 129 …const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(… in init() local 131 …if (!isES32 && !m_context.getContextInfo().isExtensionSupported("GL_OES_shader_multisample_interpo… in init()
|
D | es31fNegativeVertexArrayApiTests.cpp | 384 …const bool isES32 = glu::contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3,… in draw_arrays() local 387 …args["GLSL_VERSION_STRING"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : get… in draw_arrays() 444 …const bool isES32 = glu::contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3,… in draw_arrays_incomplete_primitive() local 447 …args["GLSL_VERSION_STRING"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : get… in draw_arrays_incomplete_primitive() 478 …const bool isES32 = glu::contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3,… in draw_elements() local 484 …args["GLSL_VERSION_STRING"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : get… in draw_elements() 588 …const bool isES32 = glu::contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3,… in draw_elements_incomplete_primitive() local 594 …args["GLSL_VERSION_STRING"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : get… in draw_elements_incomplete_primitive() 699 …const bool isES32 = glu::contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3,… in draw_arrays_instanced() local 702 …args["GLSL_VERSION_STRING"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : get… in draw_arrays_instanced() [all …]
|
D | es31fShaderBuiltinConstantTests.cpp | 161 …const bool isES32 = contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)… in init() local 165 if(!isES32) in init() 174 if (!isES32 && (m_varName == "gl_MaxTessControlImageUniforms" || in init() 194 const bool isES32 = contextSupports(renderCtx.getType(), glu::ApiType::es(3, 2)); in createGetConstantExecutor() local 197 shaderSpec.version = isES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES; in createGetConstantExecutor() 202 …if (!extName.empty() && !(isES32 && (extName == "GL_OES_sample_variables" || extName == "GL_EXT_ge… in createGetConstantExecutor()
|
D | es31fMultisampleShaderRenderCase.cpp | 101 …const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in init() local 103 …args["GLSL_VERSION_DECL"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : get… in init() 673 …const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::… in genVertexSource() local 675 …args["GLSL_VERSION_DECL"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLS… in genVertexSource() 693 …const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTy… in genMSTextureResolverSource() local 695 …args["GLSL_VERSION_DECL"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : ge… in genMSTextureResolverSource() 729 …const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTy… in genMSTextureLayerFetchSource() local 731 …args["GLSL_VERSION_DECL"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : ge… in genMSTextureLayerFetchSource()
|
D | es31fFboTestCase.cpp | 157 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in isRequiredFormat() local 212 return isES32; in isRequiredFormat() 222 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in getEnablingExtensions() local 243 if (!isES32) in getEnablingExtensions()
|
D | es31fInternalFormatQueryTests.cpp | 76 …const bool isES32 = contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, … in init() local 78 …if (!isES32 && m_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY && !m_context.getContextInfo().isExtens… in init() 82 …if (!isES32 && isTextureTarget && m_internalFormat == GL_STENCIL_INDEX8 && !m_context.getContextIn… in init() 93 …const bool isES32 = contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(… in iterate() local 95 if (!isES32) in iterate()
|
D | es31fOpaqueTypeIndexingTests.cpp | 403 const bool isES32 = contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in getShaderSpec() local 409 …if (!isES32 && m_indexExprType != INDEX_EXPR_TYPE_CONST_LITERAL && m_indexExprType != INDEX_EXPR_T… in getShaderSpec() 412 if (!isES32 in getShaderSpec() 459 spec->version = isES32 ? GLSL_VERSION_320_ES : GLSL_VERSION_310_ES; in getShaderSpec() 789 const bool isES32 = contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in getShaderSpec() local 793 …if (!isES32 && m_indexExprType != INDEX_EXPR_TYPE_CONST_LITERAL && m_indexExprType != INDEX_EXPR_T… in getShaderSpec() 836 spec->version = isES32 ? GLSL_VERSION_320_ES : GLSL_VERSION_310_ES; in getShaderSpec() 1019 const bool isES32 = contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in getShaderSpec() local 1023 …if (!isES32 && m_indexExprType != INDEX_EXPR_TYPE_CONST_LITERAL && m_indexExprType != INDEX_EXPR_T… in getShaderSpec() 1063 spec->version = isES32 ? GLSL_VERSION_320_ES : GLSL_VERSION_310_ES; in getShaderSpec()
|
D | es31fDrawBuffersIndexedTests.cpp | 862 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in genVertexSource() local 875 …args["GLSL_VERSION_DECL"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSL… in genVertexSource() 883 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in genFragmentSource() local 975 …args["GLSL_VERSION_DECL"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSL… in genFragmentSource() 976 args["GLSL_EXTENSION"] = isES32 ? "\n" : "#extension GL_KHR_blend_equation_advanced : require\n"; in genFragmentSource() 1193 …const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(… in init() local 1195 if (!isES32) in init() 1302 …const bool isES32 = glu::contextSupports(context.getRenderContext().getType(), glu::ApiType::es(3,… in getRandomFormat() local 1340 if (isES32) in getRandomFormat() 1412 …const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(… in init() local [all …]
|
D | es31fAdvancedBlendTests.cpp | 212 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in getBlendProgramSrc() local 234 …args["GLSL_VERSION_DECL"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSL… in getBlendProgramSrc() 235 args["EXTENSION"] = isES32 ? "\n" : "#extension GL_KHR_blend_equation_advanced : require\n"; in getBlendProgramSrc()
|
D | es31fCopyImageTests.cpp | 990 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in decompressTexture() local 999 else if (isES32 || ctxInfo->isExtensionSupported("GL_KHR_texture_compression_astc_ldr")) in decompressTexture() 1258 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in verifyTextureCubemap() local 1269 else if (isES32 || ctxInfo->isExtensionSupported("GL_KHR_texture_compression_astc_ldr")) in verifyTextureCubemap() 1692 const bool isES32 = glu::contextSupports(ctx.getType(), glu::ApiType::es(3, 2)); in checkFormatSupport() local 1704 if (!isES32 && !info.isExtensionSupported("GL_KHR_texture_compression_astc_ldr")) in checkFormatSupport() 1719 …const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in init() local 1721 if (!isES32 && !ctxInfo->isExtensionSupported("GL_EXT_copy_image")) in init()
|
D | es31fNegativeTextureApiTests.cpp | 3672 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); in texstorage2d_invalid_binding() local 3679 if (isES32) in texstorage2d_invalid_binding() 3700 if (isES32) in texstorage2d_invalid_binding() 3721 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); in texstorage2d_invalid_levels() local 3726 if (isES32) in texstorage2d_invalid_levels() 3737 if (isES32) in texstorage2d_invalid_levels() 3750 if (isES32) in texstorage2d_invalid_levels() 3866 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); in texstorage3d_invalid_levels() local 3876 if (isES32 || ctx.getContextInfo().isExtensionSupported("GL_OES_texture_cube_map_array")) in texstorage3d_invalid_levels() 3896 if (isES32 || ctx.getContextInfo().isExtensionSupported("GL_OES_texture_cube_map_array")) in texstorage3d_invalid_levels()
|
D | es31fMultisampleTests.cpp | 229 …const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType:… in init() local 231 …args["GLSL_VERSION_DECL"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSL… in init()
|
D | es31fNegativeStateApiTests.cpp | 73 const bool isES32 = glu::contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); in getVtxFragVersionSources() local 77 …args["GLSL_VERSION_DECL"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSL… in getVtxFragVersionSources()
|
D | es31fGeometryShaderTests.cpp | 120 const bool isES32 = glu::contextSupports(contextType, glu::ApiType::es(3, 2)); in specializeShader() local 123 args["GLSL_EXT_GEOMETRY_SHADER"] = isES32 ? "" : "#extension GL_EXT_geometry_shader : require\n"; in specializeShader() 124 …args["GLSL_OES_TEXTURE_STORAGE_MULTISAMPLE"]= isES32 ? "" : "#extension GL_OES_texture_storage_mul… in specializeShader() 3956 …const bool isES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType:… in iterate() local 4008 + std::string(isES32 ? "" : "#extension GL_EXT_geometry_shader : require\n") in iterate()
|
D | es31fDebugTests.cpp | 108 const bool isES32 = glu::contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); in isKHRDebugSupported() local 109 return isES32 || ctx.getContextInfo().isExtensionSupported("GL_KHR_debug"); in isKHRDebugSupported()
|
D | es31fNegativeShaderFunctionTests.cpp | 4041 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); in genShaderSourceInterpolateAt() local 4044 …source << (isES32 ? glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : glu::getGLSLVersion… in genShaderSourceInterpolateAt() 4046 << (isES32 ? "" : getShaderExtensionDeclaration("GL_OES_shader_multisample_interpolation")) in genShaderSourceInterpolateAt()
|
/external/deqp/modules/gles3/functional/ |
D | es3fFboTestCase.cpp | 216 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in getEnablingExtensions() local 237 if (!isES32) in getEnablingExtensions()
|
D | es3fASTCDecompressionCases.cpp | 202 const bool isES32 = glu::contextSupports(renderCtx.getType(), glu::ApiType::es(3, 2)); in getASTCSupportLevel() local 211 if (isES32) in getASTCSupportLevel()
|