/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fGeometryShaderTests.cpp | 118 static std::string specializeShader (const std::string& shaderSource, const glu::ContextType& contextType) in specializeShader() 120 const bool supportsES32orGL45 = glu::contextSupports(contextType, glu::ApiType::es(3, 2)) || in specializeShader() 121 glu::contextSupports(contextType, glu::ApiType::core(4, 5)); in specializeShader() 123 args["GLSL_VERSION_DECL"] = glu::getGLSLVersionDeclaration(glu::getContextTypeGLSLVersion(contextType)); in specializeShader() 133 return contextSupports(contextType, glu::ApiType::es(3, 2)) || in checkSupport() 134 contextSupports(contextType, glu::ApiType::core(4, 5)) || in checkSupport() 209 VertexExpanderShader (const glu [all...] |
H A D | es31fDrawTests.cpp | 181 static void genBasicSpec (gls::DrawTestSpec& spec, glu::ContextType contextType, gls::DrawTestSpec::DrawMethod method) in genBasicSpec() 183 spec.apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3, 1) : contextType.getAPI(); in genBasicSpec() 263 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() 266 spec.apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3, 1) : contextType.getAPI(); in init() 300 glu::ContextType contextType = m_context.getRenderContext().getType(); in init() 303 spec.apiType = glu::isContextTypeES(contextType) ? glu::ApiType::es(3, 1) : contextType.getAPI(); in init() 348 glu in init() [all...] |
H A D | es31fTextureSpecificationTests.cpp | 136 glu::RenderContext& renderCtx = TestCase::m_context.getRenderContext(); in iterate() 239 glu::ContextType contextType = m_context.getRenderContext().getType(); in checkExtensionSupport() 240 const bool supportsES32orGL45 = glu::contextSupports(contextType, glu::ApiType::es(3, 2)) || in checkExtensionSupport() 241 glu::contextSupports(contextType, glu::ApiType::core(4, 5)); in checkExtensionSupport() 247 const glu::GLSLVersion glslVersion = glu::getContextTypeGLSLVersion(m_context.getRenderContext().getType()); in verifyTexture() 248 TextureCubeArrayShader shader (glu::getSamplerCubeArrayType(m_texFormat), glu in verifyTexture() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcBlendEquationAdvancedTests.cpp | 36 // glu 465 static std::string GetDef2DVtxSrc(glu::GLSLVersion glslVersion) 469 DE_ASSERT(glslVersion == glu::GLSL_VERSION_310_ES || glslVersion >= glu::GLSL_VERSION_430); 471 str << glu::getGLSLVersionDeclaration(glslVersion) << "\n" 575 CoherentBlendTestCaseGroup(deqp::Context& context, glu::GLSLVersion glslVersion) 594 CoherentBlendTest(deqp::Context& context, const char* name, glu::GLSLVersion glslVersion, int repeatCount, 608 glu::GLSLVersion m_glslVersion; 624 glu::GLSLVersion m_glslVersion; 673 std::string frgSrc = GetSolidShader("blend_support_all_equations", glu [all...] |
H A D | glcInternalformatTests.cpp | 160 glu::ProgramSources prepareTexturingProgramSources(GLint internalFormat, GLenum format, GLenum type) const; 201 const glu::ContextInfo& contextInfo = m_context.getContextInfo(); in requiredExtensionsSupported() 231 tcu::TextureFormat tcuTextureFormat = glu::mapGLTransferFormat(format, type); in createTexture() 262 glu::ProgramSources InternalformatCaseBase::prepareTexturingProgramSources(GLint internalFormat, GLenum format, in prepareTexturingProgramSources() 265 glu::RenderContext& renderContext = m_context.getRenderContext(); in prepareTexturingProgramSources() 266 glu::ContextType contextType = renderContext.getType(); in prepareTexturingProgramSources() 267 glu::GLSLVersion glslVersion = glu::getContextTypeGLSLVersion(contextType); in prepareTexturingProgramSources() 273 specializationMap["VERSION"] = glu::getGLSLVersionDeclaration(glslVersion); in prepareTexturingProgramSources() 275 if (glu in prepareTexturingProgramSources() [all...] |
H A D | glcShaderIndexingTests.cpp | 39 using namespace glu; 245 glu::GLSLVersion glslVersion, DataType varType, in createVaryingArrayCase() 248 DE_ASSERT(glslVersion == glu::GLSL_VERSION_300_ES || glslVersion == glu::GLSL_VERSION_310_ES || in createVaryingArrayCase() 249 glslVersion >= glu::GLSL_VERSION_330); in createVaryingArrayCase() 252 vtx << glu::getGLSLVersionDeclaration(glslVersion) << "\n"; in createVaryingArrayCase() 300 frag << glu::getGLSLVersionDeclaration(glslVersion) << "\n"; in createVaryingArrayCase() 366 glu::GLSLVersion glslVersion, bool isVertexCase, DataType varType, in createUniformArrayCase() 369 DE_ASSERT(glslVersion == glu::GLSL_VERSION_300_ES || glslVersion == glu in createUniformArrayCase() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ycbcr/ |
H A D | vktYCbCrImageQueryTests.cpp | 84 glu::ShaderType shaderType; 86 TestParameters (QueryType query_, VkFormat format_, VkImageCreateFlags flags_, glu::ShaderType shaderType_) in TestParameters() 98 , shaderType(glu::SHADERTYPE_LAST) in TestParameters() 107 glu::DataType resultType = glu::TYPE_LAST; in getShaderSpec() 113 resultType = glu::TYPE_INT_VEC2; in getShaderSpec() 118 resultType = glu::TYPE_INT; in getShaderSpec() 125 spec.glslVersion = glu::GLSL_VERSION_450; in getShaderSpec() 127 spec.inputs.push_back(Symbol("lod", glu::VarType(glu in getShaderSpec() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ycbcr/ |
H A D | vktYCbCrImageQueryTests.cpp | 84 glu::ShaderType shaderType; 86 TestParameters (QueryType query_, VkFormat format_, VkImageCreateFlags flags_, glu::ShaderType shaderType_) in TestParameters() 98 , shaderType(glu::SHADERTYPE_LAST) in TestParameters() 107 glu::DataType resultType = glu::TYPE_LAST; in getShaderSpec() 113 resultType = glu::TYPE_INT_VEC2; in getShaderSpec() 118 resultType = glu::TYPE_INT; in getShaderSpec() 125 spec.glslVersion = glu::GLSL_VERSION_450; in getShaderSpec() 127 spec.inputs.push_back(Symbol("lod", glu::VarType(glu in getShaderSpec() [all...] |
/third_party/vk-gl-cts/modules/gles2/accuracy/ |
H A D | es2aTextureMipmapTests.cpp | 58 using namespace glu; 60 using namespace glu::TextureTestUtil; 79 glu::RenderContext& renderCtx, 80 const glu::ContextInfo& renderCtxInfo, 101 glu::RenderContext& m_renderCtx; 102 const glu::ContextInfo& m_renderCtxInfo; 113 glu::Texture2D* m_texture; 118 glu::RenderContext& renderCtx, in Texture2DMipmapCase() 119 const glu::ContextInfo& renderCtxInfo, in Texture2DMipmapCase() 142 , m_renderer (renderCtx, testCtx.getLog(), glu in Texture2DMipmapCase() [all...] |
/third_party/vk-gl-cts/modules/gles3/accuracy/ |
H A D | es3aTextureMipmapTests.cpp | 55 using namespace glu::TextureTestUtil; 75 glu::RenderContext& renderCtx, 76 const glu::ContextInfo& renderCtxInfo, 97 glu::RenderContext& m_renderCtx; 98 const glu::ContextInfo& m_renderCtxInfo; 109 glu::Texture2D* m_texture; 114 glu::RenderContext& renderCtx, in Texture2DMipmapCase() 115 const glu::ContextInfo& renderCtxInfo, in Texture2DMipmapCase() 138 , m_renderer (renderCtx, testCtx.getLog(), glu::GLSL_VERSION_300_ES, glu in Texture2DMipmapCase() [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fLifetimeTests.cpp | 56 using glu::CallLogWrapper; 57 using glu::RenderContext; 58 using glu::ProgramSources; 59 using glu::VertexArray; 60 using glu::Buffer; 68 class ScaleProgram : public glu::ShaderProgram 86 : glu::ShaderProgram (ctx.getRenderContext(), getSources()) in ScaleProgram() 117 using namespace glu; in getSources() 470 ScopedTransformFeedbackFeedback (glu::CallLogWrapper& gl, GLenum type); 474 glu [all...] |
H A D | es3fDrawBuffersIndexedTests.cpp | 188 return contextSupports(ctxType, glu::ApiType::es(3, 2)) || in checkES32orGL45Support() 189 contextSupports(ctxType, glu::ApiType::core(4, 5)); in checkES32orGL45Support() 399 const glu::Framebuffer& framebuffer, in genRenderbuffers() 400 const glu::RenderbufferVector& renderbuffers, in genRenderbuffers() 417 const deUint32 glFormat = glu::getInternalFormat(format); in genRenderbuffers() 561 glu::RenderContext& renderContext, in verifyRenderbuffers() 562 const glu::RenderbufferVector& renderbuffers, in verifyRenderbuffers() 563 const glu::Framebuffer& framebuffer, in verifyRenderbuffers() 582 glu::readPixels(renderContext, 0, 0, result.getAccess()); in verifyRenderbuffers() 880 glu [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineInputAttributeOffsetTests.cpp | 96 uint32_t getTypeSize (glu::DataType dataType) in getTypeSize() 100 case glu::TYPE_FLOAT_VEC2: return static_cast<uint32_t>(sizeof(tcu::Vec2)); in getTypeSize() 101 case glu::TYPE_FLOAT_VEC4: return static_cast<uint32_t>(sizeof(tcu::Vec4)); in getTypeSize() 112 const glu::DataType dataType; // vec2 or vec4. 132 case glu::TYPE_FLOAT_VEC2: return (isOverlapping() ? VK_FORMAT_R32G32B32A32_SFLOAT : VK_FORMAT_R32G32_SFLOAT); in attributeFormat() 133 case glu::TYPE_FLOAT_VEC4: return VK_FORMAT_R32G32B32A32_SFLOAT; in attributeFormat() 176 DE_ASSERT(params.dataType == glu::TYPE_FLOAT_VEC2); 320 programCollection.glslSources.add("frag") << glu::FragmentSource(frag.str()); in initPrograms() 324 const auto extraComponents = ((m_params.dataType == glu::TYPE_FLOAT_VEC4) in initPrograms() 335 << "layout (location=0) in " << glu in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationWindingTests.cpp | 236 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 242 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms() 248 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 264 programCollection.glslSources.add("tesc") << glu::TessellationControlSource(src.str()); in initPrograms() 270 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 281 programCollection.glslSources.add("tese") << glu::TessellationEvaluationSource(src.str()); in initPrograms() 287 src << glu in initPrograms() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cPostDepthCoverageTests.cpp | 40 using namespace glu; 349 glu::VertexArrayBinding vertexArraysNear[] = { glu::va::Float("vertex", 3, 3, 0, verticesNear), in iterate() 350 glu::va::Float("inTexCoord", 2, 3, 0, texCoord) }; in iterate() 352 glu::VertexArrayBinding vertexArraysFar[] = { glu::va::Float("vertex", 3, 3, 0, verticesFar), in iterate() 353 glu::va::Float("inTexCoord", 2, 3, 0, texCoord) }; in iterate() 355 glu::VertexArrayBinding vertexArraysPost[] = { glu::va::Float("vertex", 3, 4, 0, verticesPost), in iterate() 356 glu in iterate() [all...] |
H A D | gl4cContextFlushControlTests.cpp | 82 bool is_at_least_gl_44 = (glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::core(4, 4))); in iterate() 95 glu::RenderContext* no_flush_context = createNoFlushContext(); in iterate() 145 bool gl4cts::ContextFlushControl::CoverageTest::testQuery(glu::RenderContext& context, glw::GLenum expected_value) in testQuery() 197 glu::RenderContext* gl4cts::ContextFlushControl::CoverageTest::createNoFlushContext() in createNoFlushContext() 200 glu::Platform& platform = dynamic_cast<glu::Platform&>(m_context.getTestContext().getPlatform()); in createNoFlushContext() 203 glu::RenderContext* context = DE_NULL; in createNoFlushContext() 211 glu::ContextType renderContextType = m_context.getRenderContext().getType(); in createNoFlushContext() 243 glu in iterate() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
H A D | vktTessellationWindingTests.cpp | 236 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 242 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms() 248 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 264 programCollection.glslSources.add("tesc") << glu::TessellationControlSource(src.str()); in initPrograms() 270 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 281 programCollection.glslSources.add("tese") << glu::TessellationEvaluationSource(src.str()); in initPrograms() 287 src << glu in initPrograms() [all...] |
/third_party/vk-gl-cts/framework/platform/null/ |
H A D | tcuNullContextFactory.cpp | 33 : glu::ContextFactory("null", "Null Render Context") in NullGLContextFactory() 37 glu::RenderContext* NullGLContextFactory::createContext (const glu::RenderConfig& config, const tcu::CommandLine&, const glu::RenderContext*) const in createContext()
|
H A D | tcuNullContextFactory.hpp | 34 class NullGLContextFactory : public glu::ContextFactory 38 glu::RenderContext* createContext (const glu::RenderConfig& config, const tcu::CommandLine&, const glu::RenderContext*) const;
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkPrograms.cpp | 159 void validateCompiledBinary(const vector<deUint32>& binary, glu::ShaderProgramInfo* buildInfo, const SpirvValidatorOptions& options) in validateCompiledBinary() 638 ProgramBinary* buildProgram (const GlslSource& program, glu::ShaderProgramInfo* buildInfo, const tcu::CommandLine& commandLine) in buildProgram() 655 for (int i = 0; i < glu::SHADERTYPE_LAST; i++) in buildProgram() 659 cachekey += glu::getShaderTypeName((glu::ShaderType)i); in buildProgram() 678 for (int shaderType = 0; shaderType < glu::SHADERTYPE_LAST; shaderType++) in buildProgram() 682 glu::ShaderInfo shaderBuildInfo; in buildProgram() 684 shaderBuildInfo.type = (glu::ShaderType)shaderType; in buildProgram() 726 ProgramBinary* buildProgram (const HlslSource& program, glu::ShaderProgramInfo* buildInfo, const tcu::CommandLine& commandLine) in buildProgram() 743 for (int i = 0; i < glu in buildProgram() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/ |
H A D | glcSubgroupsBasicTests.cpp | 256 programCollection.add("fragment") << glu::FragmentSource(fragmentGLSL); in initFrameBufferPrograms() 269 programCollection.add("vert") << glu::VertexSource(vertexGLSL); in initFrameBufferPrograms() 305 programCollection.add("vert") << glu::VertexSource(vertexGLSL); in initFrameBufferPrograms() 332 programCollection.add("geometry") << glu::GeometrySource(geometryGLSL); in initFrameBufferPrograms() 351 programCollection.add("tesc") << glu::TessellationControlSource(controlSourceGLSL); in initFrameBufferPrograms() 375 programCollection.add("tese") << glu::TessellationEvaluationSource(evaluationSourceGLSL); in initFrameBufferPrograms() 405 programCollection.add("tesc") << glu::TessellationControlSource(controlSourceGLSL); in initFrameBufferPrograms() 421 programCollection.add("tese") << glu::TessellationEvaluationSource(evaluationSourceGLSL); in initFrameBufferPrograms() 507 programCollection.add("fragment") << glu::FragmentSource(fragment.str()); in initFrameBufferPrograms() 547 programCollection.add("vert") << glu in initFrameBufferPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ssbo/ |
H A D | vktSSBOLayoutCase.hpp | 76 BufferVar (const char* name, const glu::VarType& type, deUint32 flags); 79 const glu::VarType& getType (void) const { return m_type; } in getType() 87 glu::VarType m_type; 134 glu::StructType& allocStruct (const char* name); 135 const glu::StructType* findStruct (const char* name) const; 136 void getNamedStructs (std::vector<const glu::StructType*>& structs) const; 148 std::vector<glu::StructType*> m_structs; 155 : type (glu::TYPE_LAST) in BufferVarLayoutEntry() 168 glu::DataType type;
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsScissorTests.hpp | 32 namespace glu namespace 35 } // glu 77 glu::RenderContext& renderCtx, 85 glu::RenderContext& renderCtx, 92 glu::RenderContext& renderCtx, 98 glu::RenderContext& renderCtx,
|
H A D | glsTextureBufferCase.hpp | 29 namespace glu namespace 33 } // glu 67 glu::RenderContext& renderCtx, 85 glu::RenderContext& m_renderCtx; 94 glu::ShaderProgram* m_preRenderProgram; 95 glu::ShaderProgram* m_postRenderProgram;
|
/third_party/vk-gl-cts/external/openglcts/modules/runner/ |
H A D | glcKhronosMustpassGlNocontext.hpp | 25 { glu::ApiType::core(3, 0), "khr-master", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 }, 26 { glu::ApiType::core(4, 0), "khr-master", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 }, 27 { glu::ApiType::core(4, 3), "khr-master", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 }, 28 { glu::ApiType::core(4, 5), "khr-master", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 },
|