Home
last modified time | relevance | path

Searched refs:glu (Results 226 - 250 of 1516) sorted by relevance

12345678910>>...61

/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/
H A DvktComputeShaderBuiltinVarTests.cpp132 const glu::DataType varType,
145 const glu::DataType m_varType;
151 ComputeBuiltinVarCase (tcu::TestContext& context, const string& name, const char* varName, glu::DataType varType, bool readByComponent);
163 string genBuiltinVarSource (const string& varName, glu::DataType varType, const UVec3& localSize, bool readByComponent) const;
170 const glu::DataType m_varType;
178 ComputeBuiltinVarCase::ComputeBuiltinVarCase (tcu::TestContext& context, const string& name, const char* varName, glu::DataType varType, bool readByComponent) in ComputeBuiltinVarCase()
199 programCollection.glslSources.add(name.str()) << glu::ComputeSource(genBuiltinVarSource(m_varName, m_varType, subCase.localSize(), m_readByComponent).c_str()); in initPrograms()
203 string ComputeBuiltinVarCase::genBuiltinVarSource (const string& varName, glu::DataType varType, const UVec3& localSize, bool readByComponent) const in genBuiltinVarSource()
221 << " " << glu::getDataTypeName(varType) << " result[];\n" in genBuiltinVarSource()
228 if (readByComponent && varType != glu in genBuiltinVarSource()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcTextureCompatibilityTests.cpp134 std::shared_ptr<glu::ShaderProgram> m_program;
215 tcu::TextureFormat refTexFormat (glu::mapGLInternalFormat(m_testParams.internalFormat)); in iterate()
216 glu::TransferFormat refTransferFormat = glu::getTransferFormat(refTexFormat); in iterate()
223 tcu::TextureFormat refTexFormatSub = glu::mapGLInternalFormat(m_testParams.internalFormat); in iterate()
232 GLU_EXPECT_NO_ERROR(gl.getError(), ("gltexImage2D() failed" + glu::getTextureFormatStr(m_testParams.internalFormat).toString()).c_str()); in iterate()
237 GLU_EXPECT_NO_ERROR(gl.getError(), ("gltexSubImage2D() failed" + glu::getTextureFormatStr(m_testParams.internalFormat).toString()).c_str()); in iterate()
247 glu::readPixels(m_context.getRenderContext(), 0, 0, refSurface.getAccess()); in iterate()
250 tcu::TextureFormat testTexFormatSub = glu::mapGLTransferFormat(m_testParams.format, m_testParams.testType); in iterate()
259 GLU_EXPECT_NO_ERROR(gl.getError(), ("gltexImage2D() failed" + glu in iterate()
[all...]
H A DglcSpirvUtils.hpp50 glu::ShaderBinary makeSpirV(tcu::TestLog& log, glu::ShaderSource source, SpirvVersion version = SPIRV_VERSION_1_0);
52 void spirvAssemble(glu::ShaderBinaryDataType& dst, const std::string& src);
53 void spirvDisassemble(std::string& dst, const glu::ShaderBinaryDataType& src);
54 bool spirvValidate(glu::ShaderBinaryDataType& dst, bool throwOnError);
H A DglcParallelShaderCompileTests.cpp39 using namespace glu;
80 const glu::ContextInfo& contextInfo = m_context.getContextInfo(); in iterate()
81 const glu::ContextType& contextType = m_context.getRenderContext().getType(); in iterate()
82 const bool isGL = glu::isContextTypeGLCore(contextType); in iterate()
100 bool supportsInt64 = isGL || glu::contextSupports(contextType, glu::ApiType::es(3, 0)); in iterate()
170 const glu::ContextInfo& contextInfo = m_context.getContextInfo(); in iterate()
171 const glu::ContextType& contextType = m_context.getRenderContext().getType(); in iterate()
172 const bool isGL = glu::isContextTypeGLCore(contextType); in iterate()
233 const glu in iterate()
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fTextureWrapTests.cpp47 using namespace glu;
49 using namespace glu::TextureTestUtil;
60 TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 format, deUint32 dataType, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, int width, int height, bool enableRelaxedRef = false);
61 TextureWrapCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* description, deUint32 wrapS, deUint32 wrapT, deUint32 minFilter, deUint32 magFilter, const std::vector<std::string>& filenames, bool enableRelaxedRef = false);
72 glu::RenderContext& m_renderCtx;
73 const glu::ContextInfo& m_renderCtxInfo;
86 glu::Texture2D* m_texture;
92 TextureWrapCase::TextureWrapCase (tcu::TestContext& testCtx, glu
[all...]
H A Des2fTextureCompletenessTests.cpp61 using glu::TextureTestUtil::computeQuadTexCoord2D;
62 using glu::TextureTestUtil::computeQuadTexCoordCube;
74 static bool isExtensionSupported (const glu::ContextInfo& ctxInfo, const char* extension) in isExtensionSupported()
125 Tex2DCompletenessCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description);
134 glu::RenderContext& m_renderCtx;
138 Tex2DCompletenessCase::Tex2DCompletenessCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description) in Tex2DCompletenessCase()
151 TextureRenderer renderer (m_renderCtx, log, glu::GLSL_VERSION_100_ES, glu::PRECISION_MEDIUMP); in iterate()
167 renderer.renderQuad (0, &texCoord[0], glu::TextureTestUtil::TEXTURETYPE_2D); in iterate()
168 glu in iterate()
[all...]
/third_party/vk-gl-cts/modules/glshared/
H A DglsShaderConstExprTests.hpp37 namespace glu namespace
48 using glu::DataType;
71 glu::RenderContext& renderContext,
72 const glu::ContextInfo& contextInfo,
75 glu::GLSLVersion version,
H A DglsBufferTestUtil.cpp175 BufferCase::BufferCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description) in BufferCase()
228 throw tcu::TestError(string("Got ") + glu::getErrorStr(err).toString()); in checkError()
252 BufferWriterBase::BufferWriterBase (glu::RenderContext& renderCtx, tcu::TestLog& log) in BufferWriterBase()
267 BufferWriter::BufferWriter (glu::RenderContext& renderCtx, tcu::TestLog& log, WriteType writeType) in BufferWriter()
338 BufferVerifierBase::BufferVerifierBase (glu::RenderContext& renderCtx, tcu::TestLog& log) in BufferVerifierBase()
354 BufferVerifier::BufferVerifier (glu::RenderContext& renderCtx, tcu::TestLog& log, VerifyType verifyType) in BufferVerifier()
417 VertexArrayVerifier::VertexArrayVerifier (glu::RenderContext& renderCtx, tcu::TestLog& log) in VertexArrayVerifier()
424 const glu::ContextType ctxType = renderCtx.getType(); in VertexArrayVerifier()
425 const glu::GLSLVersion glslVersion = glu in VertexArrayVerifier()
[all...]
H A DglsFragOpInteractionCase.hpp31 namespace glu namespace
52 FragOpInteractionCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const rsg::ProgramParameters& params);
65 glu::RenderContext& m_renderCtx;
66 const glu::ContextInfo& m_ctxInfo;
H A DglsStateChangePerfTestCases.hpp29 namespace glu namespace
55 StateChangePerformanceCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, DrawType drawType, int drawCallCount, int triangleCount);
82 glu::RenderContext& m_renderCtx;
92 std::vector<glu::ShaderProgram*> m_programs;
112 StateChangeCallPerformanceCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description);
125 glu::RenderContext& m_renderCtx;
/third_party/vk-gl-cts/framework/egl/
H A DegluGLUtil.hpp42 eglw::EGLint apiRenderableType (glu::ApiType apiType);
47 const glu::ContextType& contextType,
49 glu::ResetNotificationStrategy resetNotificationStrategy = glu::RESET_NOTIFICATION_STRATEGY_NOT_SPECIFIED);
53 const glu::RenderConfig& config);
/third_party/vk-gl-cts/framework/platform/null/
H A DtcuNullRenderContext.hpp31 namespace glu namespace
37 } // glu
53 class RenderContext : public glu::RenderContext
56 RenderContext (const glu::RenderConfig& config);
59 virtual glu::ContextType getType (void) const { return m_ctxType; } in getType()
69 const glu::ContextType m_ctxType;
H A DtcuNullContextFactory.cpp33 : 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 DtcuNullContextFactory.hpp34 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/modules/vulkan/ssbo/
H A DvktSSBOLayoutCase.hpp76 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/gles3/accuracy/
H A Des3aTextureFilteringTests.cpp48 using namespace glu::TextureTestUtil;
53 Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 internalFormat, int width, int height);
54 Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, const std::vector<std::string>& filenames);
65 glu::RenderContext& m_renderCtx;
66 const glu::ContextInfo& m_renderCtxInfo;
79 std::vector<glu::Texture2D*> m_textures;
83 Texture2DFilteringCase::Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
H A DvktRayTracingCallableShadersTests.cpp116 glu::ShaderType invokingShader;
496 programCollection.glslSources.add("rgen") << glu::RaygenSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
513 programCollection.glslSources.add("rgen_call") << glu::RaygenSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
542 programCollection.glslSources.add("rgen_multicall") << glu::RaygenSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
556 programCollection.glslSources.add("chit") << glu::ClosestHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
573 programCollection.glslSources.add("chit_call") << glu::ClosestHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
587 programCollection.glslSources.add("miss") << glu::MissSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
603 programCollection.glslSources.add("miss_call") << glu::MissSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
636 programCollection.glslSources.add(csname.str()) << glu::CallableSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms()
652 programCollection.glslSources.add("call_call") << glu in initPrograms()
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fCopyImageTests.cpp63 using namespace glu::TextureTestUtil;
187 if (glu::isCompressedFormat(format)) in formatToName()
188 enumName = glu::getCompressedTextureFormatStr(format).toString().substr(14); // Strip GL_COMPRESSED_ in formatToName()
190 enumName = glu::getUncompressedTextureFormatStr(format).toString().substr(3); // Strip GL_ in formatToName()
197 if (glu::isCompressedFormat(format)) in isFloatFormat()
200 return tcu::getTextureChannelClass(glu::mapGLInternalFormat(format).type) == tcu::TEXTURECHANNELCLASS_FLOATING_POINT; in isFloatFormat()
205 if (glu::isCompressedFormat(format)) in isUintFormat()
208 return tcu::getTextureChannelClass(glu::mapGLInternalFormat(format).type) == tcu::TEXTURECHANNELCLASS_UNSIGNED_INTEGER; in isUintFormat()
213 if (glu::isCompressedFormat(format)) in isIntFormat()
216 return tcu::getTextureChannelClass(glu in isIntFormat()
[all...]
H A Des31fBuiltinPrecisionTests.cpp43 std::vector<glu::ShaderType> shaderTypes; in createBuiltinPrecisionTests()
47 shaderTypes.push_back(glu::SHADERTYPE_COMPUTE); in createBuiltinPrecisionTests()
56 shaderTypes.push_back(glu::SHADERTYPE_VERTEX); in createBuiltinPrecisionTests()
57 shaderTypes.push_back(glu::SHADERTYPE_FRAGMENT); in createBuiltinPrecisionTests()
58 shaderTypes.push_back(glu::SHADERTYPE_COMPUTE); in createBuiltinPrecisionTests()
H A Des31fTextureLevelStateQueryTests.cpp100 static bool isCoreTextureTarget (glw::GLenum target, const glu::ContextType& contextType) in isCoreTextureTarget()
114 return glu::contextSupports(contextType, glu::ApiType::es(3, 2)) || in isCoreTextureTarget()
115 glu::contextSupports(contextType, glu::ApiType::core(4, 5)); in isCoreTextureTarget()
175 static std::string getIntegerName (int v) { return de::toString(glu::getTextureFormatStr(v)); } in getIntegerName()
176 static std::string getFloatName (float v) { return de::toString(glu::getTextureFormatStr((int)v)); } in getFloatName()
180 static bool verifyTextureLevelParameterEqualWithPrinter (glu::CallLogWrapper& gl, glw::GLenum target, int level, glw::GLenum pname, int refValue, QueryType type) in verifyTextureLevelParameterEqualWithPrinter()
185 gl.getLog() << tcu::TestLog::Message << "Verifying " << glu::getTextureLevelParameterStr(pname) << ", expecting " << Printer::getIntegerName(refValue) << tcu::TestLog::EndMessage; in verifyTextureLevelParameterEqualWithPrinter()
196 static bool verifyTextureLevelParameterEqual (glu
[all...]
H A Des31fFboTestCase.cpp62 glu::RenderContext& renderCtx = TestCase::m_context.getRenderContext(); in iterate()
92 throw glu::Error(err, glu::getErrorStr(err).toString().c_str(), DE_NULL, __FILE__, __LINE__); in iterate()
152 throw glu::Error((int)err, (string("Got ") + glu::getErrorStr(err).toString()).c_str(), DE_NULL, __FILE__, __LINE__); in checkError()
155 static bool isRequiredFormat (deUint32 format, glu::RenderContext& renderContext) in isRequiredFormat()
157 const bool supportsES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in isRequiredFormat()
158 const bool supportsGL45 = glu::contextSupports(renderContext.getType(), glu in isRequiredFormat()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cShaderBitfieldOperationTests.cpp49 static std::string specializeVersion(const std::string& source, glu::GLSLVersion version, const char* testStatement) in specializeVersion()
51 DE_ASSERT(version == glu::GLSL_VERSION_310_ES || version >= glu::GLSL_VERSION_430); in specializeVersion()
53 args["VERSION_DECL"] = glu::getGLSLVersionDeclaration(version); in specializeVersion()
127 glu::GLSLVersion glslVersion, Data const& data, char const* testStatement);
133 glu::GLSLVersion m_glslVersion;
141 glu::GLSLVersion glslVersion, Data const& data, in ShaderBitfieldOperationCase()
145 DE_ASSERT(glslVersion == glu::GLSL_VERSION_310_ES || glslVersion >= glu::GLSL_VERSION_430); in ShaderBitfieldOperationCase()
237 ShaderBitfieldOperationCaseFrexp(Context& context, const char* name, glu
[all...]
/third_party/vk-gl-cts/modules/gles2/accuracy/
H A Des2aTextureFilteringTests.cpp51 using namespace glu;
53 using namespace glu::TextureTestUtil;
58 Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, deUint32 format, deUint32 dataType, int width, int height);
59 Texture2DFilteringCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, deUint32 minFilter, deUint32 magFilter, deUint32 wrapS, deUint32 wrapT, const std::vector<std::string>& filenames);
70 glu::RenderContext& m_renderCtx;
71 const glu::ContextInfo& m_renderCtxInfo;
85 std::vector<glu::Texture2D*> m_textures;
90 Texture2DFilteringCase::Texture2DFilteringCase (tcu::TestContext& testCtx, glu
[all...]
/third_party/vk-gl-cts/framework/platform/ohos/context/
H A DtcuOhosNativeContext.hpp38 using glu::ContextFactory;
39 using glu::RenderContext;
53 OhosRendContext(const glu::RenderConfig& config, const tcu::CommandLine& cmdLine);
56 glu::ContextType getType(void) const { return m_contextType; } in getType()
64 const glu::ContextType m_contextType;
/third_party/vk-gl-cts/external/openglcts/modules/glesext/
H A DesextcTestCaseBase.cpp95 const glu::ContextType& context_type = m_context.getRenderContext().getType(); in initExtensions()
98 if (glu::contextSupports(context_type, glu::ApiType::core(4, 0))) in initExtensions()
109 m_is_shader_image_atomic_supported = glu::contextSupports(context_type, glu::ApiType::core(4, 2)); in initExtensions()
111 glu::contextSupports(context_type, glu::ApiType::core(4, 3)); in initExtensions()
112 m_is_framebuffer_no_attachments_supported = glu::contextSupports(context_type, glu::ApiType::core(4, 3)); in initExtensions()
113 m_is_program_interface_query_supported = glu in initExtensions()
[all...]

Completed in 18 milliseconds

12345678910>>...61