Home
last modified time | relevance | path

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

12

/external/deqp/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()
Des31fSampleVariableTests.cpp279 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in init() local
280 if (!supportsES32 && !m_context.getContextInfo().isExtensionSupported("GL_OES_sample_variables")) in init()
314 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiT… in genFragmentSource() local
316 …args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : g… in genFragmentSource()
317 args["GLSL_EXTENSION"] = supportsES32 ? "" : "#extension GL_OES_sample_variables : require"; in genFragmentSource()
394 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiT… in genFragmentSource() local
396 …args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : g… in genFragmentSource()
397 args["GLSL_EXTENSION"] = supportsES32 ? "" : "#extension GL_OES_sample_variables : require"; in genFragmentSource()
481 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiT… in genFragmentSource() local
483 …args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : g… in genFragmentSource()
[all …]
Des31fTextureBufferTests.cpp154 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in iterate() local
155 …TCU_CHECK_AND_THROW(NotSupportedError, supportsES32 || m_context.getContextInfo().isExtensionSuppo… in iterate()
190 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in iterate() local
191 …TCU_CHECK_AND_THROW(NotSupportedError, supportsES32 || m_context.getContextInfo().isExtensionSuppo… in iterate()
222 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in iterate() local
223 …TCU_CHECK_AND_THROW(NotSupportedError, supportsES32 || m_context.getContextInfo().isExtensionSuppo… in iterate()
282 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in iterate() local
283 …TCU_CHECK_AND_THROW(NotSupportedError, supportsES32 || m_context.getContextInfo().isExtensionSuppo… in iterate()
342 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in iterate() local
343 …TCU_CHECK_AND_THROW(NotSupportedError, supportsES32 || m_context.getContextInfo().isExtensionSuppo… in iterate()
[all …]
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()
Des31fShaderMultisampleInterpolationStateQueryTests.cpp81 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in init() local
83 …if (!supportsES32 && !m_context.getContextInfo().isExtensionSupported("GL_OES_shader_multisample_i… in init()
129 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in init() local
131 …if (!supportsES32 && !m_context.getContextInfo().isExtensionSupported("GL_OES_shader_multisample_i… in init()
Des31fFboTestCase.cpp157 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in isRequiredFormat() local
214 return supportsES32; in isRequiredFormat()
223 …const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)… in getEnablingExtensions() local
241 if (!supportsES32) in getEnablingExtensions()
249 if (!supportsES32) in getEnablingExtensions()
Des31fShaderBuiltinConstantTests.cpp161 …const bool supportsES32 = contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es… in init() local
165 if(!supportsES32) in init()
174 if (!supportsES32 && (m_varName == "gl_MaxTessControlImageUniforms" || in init()
194 const bool supportsES32 = contextSupports(renderCtx.getType(), glu::ApiType::es(3, 2)); in createGetConstantExecutor() local
197 shaderSpec.version = supportsES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES; in createGetConstantExecutor()
202 …if (!extName.empty() && !(supportsES32 && (extName == "GL_OES_sample_variables" || extName == "GL_… in createGetConstantExecutor()
Des31fShaderStateQueryTests.cpp100 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::Ap… in iterate() local
102 if (m_extension && !m_context.getContextInfo().isExtensionSupported(m_extension) && !supportsES32) in iterate()
115 …shaderArgs["EXTENSIONSTATEMENT"] = (m_extension && !supportsES32) ? (std::string() + "#extension "… in iterate()
382 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in init() local
392 if (!m_context.getContextInfo().isExtensionSupported("GL_EXT_geometry_shader") && !supportsES32) in init()
398 …f (!m_context.getContextInfo().isExtensionSupported("GL_EXT_tessellation_shader") && !supportsES32) in init()
Des31fMultisampleShaderRenderCase.cpp101 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::Ap… in init() local
104 …args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : g… in init()
674 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::Api… in genVertexSource() local
677 …args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : g… in genVertexSource()
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()
Des31fInternalFormatQueryTests.cpp76 …const bool supportsES32 = contextSupports(m_context.getRenderContext().getType(), glu::ApiType::e… in init() local
78 …if (!supportsES32 && m_target == GL_TEXTURE_2D_MULTISAMPLE_ARRAY && !m_context.getContextInfo().is… in init()
82 …if (!supportsES32 && isTextureTarget && m_internalFormat == GL_STENCIL_INDEX8 && !m_context.getCon… in init()
93 …const bool supportsES32 = contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in iterate() local
95 if (!supportsES32) in iterate()
Des31fProgramStateQueryTests.cpp105 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in iterate() local
107 if (!supportsES32 && !m_context.getContextInfo().isExtensionSupported("GL_EXT_geometry_shader")) in iterate()
219 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in iterate() local
221 …if (!supportsES32 && !m_context.getContextInfo().isExtensionSupported("GL_EXT_tessellation_shader"… in iterate()
646 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in init() local
655 if (!supportsES32 && !m_context.getContextInfo().isExtensionSupported("GL_EXT_geometry_shader")) in init()
660 …if (!supportsES32 && !m_context.getContextInfo().isExtensionSupported("GL_EXT_tessellation_shader"… in init()
Des31fOpaqueTypeIndexingTests.cpp403 const bool supportsES32 = contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in getShaderSpec() local
409 …if (!supportsES32 && m_indexExprType != INDEX_EXPR_TYPE_CONST_LITERAL && m_indexExprType != INDEX_… in getShaderSpec()
412 if (!supportsES32 in getShaderSpec()
459 spec->version = supportsES32 ? GLSL_VERSION_320_ES : GLSL_VERSION_310_ES; in getShaderSpec()
789 const bool supportsES32 = contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in getShaderSpec() local
793 …if (!supportsES32 && m_indexExprType != INDEX_EXPR_TYPE_CONST_LITERAL && m_indexExprType != INDEX_… in getShaderSpec()
836 spec->version = supportsES32 ? GLSL_VERSION_320_ES : GLSL_VERSION_310_ES; in getShaderSpec()
1019 const bool supportsES32 = contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in getShaderSpec() local
1023 …if (!supportsES32 && m_indexExprType != INDEX_EXPR_TYPE_CONST_LITERAL && m_indexExprType != INDEX_… in getShaderSpec()
1063 spec->version = supportsES32 ? GLSL_VERSION_320_ES : GLSL_VERSION_310_ES; in getShaderSpec()
Des31fTessellationGeometryInteractionTests.cpp59 const bool supportsES32 = glu::contextSupports(contextType, glu::ApiType::es(3, 2)); in specializeShader() local
63 …shaderArgs["EXTENSION_GEOMETRY_SHADER"] = (supportsES32) ? ("") : ("#extension GL_EXT_geometry_sh… in specializeShader()
64 …shaderArgs["EXTENSION_TESSELATION_SHADER"] = (supportsES32) ? ("") : ("#extension GL_EXT_tessellat… in specializeShader()
175 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTy… in init() local
177 if (!supportsES32 && in init()
481 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTy… in init() local
483 if (!supportsES32 && in init()
874 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTy… in init() local
876 if (!supportsES32 && in init()
1783 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::A… in checkExtensions() local
[all …]
Des31fShaderTextureSizeTests.cpp163 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::Ap… in init() local
166 …if (m_isArrayType && !supportsES32 && !m_context.getContextInfo().isExtensionSupported("GL_OES_tex… in init()
350 const bool supportsES32 = glu::contextSupports(contextType, glu::ApiType::es(3, 2)); in genFragmentSource() local
352 if (m_isArrayType && !supportsES32) in genFragmentSource()
Des31fDrawBuffersIndexedTests.cpp862 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in genVertexSource() local
875 …args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : g… in genVertexSource()
883 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in genFragmentSource() local
975 …args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : g… in genFragmentSource()
976 …args["GLSL_EXTENSION"] = supportsES32 ? "\n" : "#extension GL_KHR_blend_equation_advanced : requir… in genFragmentSource()
1193 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in init() local
1195 if (!supportsES32) in init()
1302 …const bool supportsES32 = glu::contextSupports(context.getRenderContext().getType(), glu::ApiType:… in getRandomFormat() local
1340 if (supportsES32) in getRandomFormat()
1412 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in init() local
[all …]
Des31fPrimitiveBoundingBoxTests.cpp171 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in init() local
173 …if (!supportsES32 && !m_context.getContextInfo().isExtensionSupported("GL_EXT_primitive_bounding_b… in init()
249 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in init() local
251 …if (!supportsES32 && !m_context.getContextInfo().isExtensionSupported("GL_EXT_primitive_bounding_b… in init()
646 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::Ap… in init() local
649 …if (!supportsES32 && !m_context.getContextInfo().isExtensionSupported("GL_EXT_primitive_bounding_b… in init()
651 …if (!supportsES32 && m_hasTessellationStage && !m_context.getContextInfo().isExtensionSupported("G… in init()
653 …if (!supportsES32 && m_hasGeometryStage && !m_context.getContextInfo().isExtensionSupported("GL_EX… in init()
3374 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in init() local
3376 …if (!supportsES32 && !m_context.getContextInfo().isExtensionSupported("GL_EXT_primitive_bounding_b… in init()
[all …]
Des31fAdvancedBlendTests.cpp212 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in getBlendProgramSrc() local
234 …args["GLSL_VERSION_DECL"] = supportsES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : g… in getBlendProgramSrc()
235 args["EXTENSION"] = supportsES32 ? "\n" : "#extension GL_KHR_blend_equation_advanced : require\n"; in getBlendProgramSrc()
Des31fTextureFilteringTests.cpp200 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in init() local
202 …if (!supportsES32 && !m_context.getContextInfo().isExtensionSupported("GL_EXT_texture_cube_map_arr… in init()
Des31fTextureFormatTests.cpp314 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::Api… in init() local
316 if (!supportsES32 in init()
Des31fShaderMultisampleInterpolationTests.cpp53 const bool supportsES32 = glu::contextSupports(contextType, glu::ApiType::es(3, 2)); in specializeShader() local
57 …args["GLSL_EXT_SHADER_MULTISAMPLE_INTERPOLATION"] = supportsES32 ? "" : "#extension GL_OES_shader_… in specializeShader()
58 …args["GLSL_EXT_SAMPLE_VARIABLES"] = supportsES32 ? "" : "#extension GL_OES_sample_variables : … in specializeShader()
Des31fSynchronizationTests.cpp207 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::Api… in init() local
211 …if (m_useAtomic && m_storage == STORAGE_IMAGE && !supportsES32 && !m_context.getContextInfo().isEx… in init()
1157 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTy… in init() local
1161 …if (m_useAtomic && m_storage == STORAGE_IMAGE && !supportsES32 && !m_context.getContextInfo().isEx… in init()
2640 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::Ap… in init() local
2642 …if (!supportsES32 && !m_context.getContextInfo().isExtensionSupported("GL_OES_shader_image_atomic"… in init()
Des31fTextureMultisampleTests.cpp1126 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::Api… in init() local
1132 …if (m_isArrayType && !supportsES32 && !m_context.getContextInfo().isExtensionSupported("GL_OES_tex… in init()
1875 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::Ap… in iterate() local
1877 …if (types[m_iteration].isArrayType && !supportsES32 && !m_context.getContextInfo().isExtensionSupp… in iterate()
Des31fNegativeTextureApiTests.cpp3677 …const bool supportsES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)… in texstorage2d_invalid_binding() local
3684 if (supportsES32) in texstorage2d_invalid_binding()
3705 if (supportsES32) in texstorage2d_invalid_binding()
3726 …const bool supportsES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)… in texstorage2d_invalid_levels() local
3731 if (supportsES32) in texstorage2d_invalid_levels()
3742 if (supportsES32) in texstorage2d_invalid_levels()
3755 if (supportsES32) in texstorage2d_invalid_levels()
3871 …const bool supportsES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)… in texstorage3d_invalid_levels() local
3881 if (supportsES32 || ctx.getContextInfo().isExtensionSupported("GL_OES_texture_cube_map_array")) in texstorage3d_invalid_levels()
3901 if (supportsES32 || ctx.getContextInfo().isExtensionSupported("GL_OES_texture_cube_map_array")) in texstorage3d_invalid_levels()
Des31fTextureBorderClampTests.cpp652 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiTyp… in init() local
654 …if (!supportsES32 && !m_context.getContextInfo().isExtensionSupported("GL_EXT_texture_border_clamp… in init()
658 !supportsES32 && in init()
2070 …const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::Api… in init() local
2073 …if (!supportsES32 && !m_context.getContextInfo().isExtensionSupported("GL_EXT_texture_border_clamp… in init()
2077 !supportsES32 && in init()
Des31fDrawElementsBaseVertexTests.cpp225 …const bool supportsES32 = contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es… in init() local
226 …TCU_CHECK_AND_THROW(NotSupportedError, supportsES32 || m_context.getContextInfo().isExtensionSuppo… in init()

12