/third_party/vk-gl-cts/modules/glshared/ |
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;
|
H A D | glsShaderLibrary.hpp | 41 ShaderLibrary (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const glu::ContextInfo& contextInfo); 51 glu::RenderContext& m_renderCtx; 52 const glu::ContextInfo& m_contextInfo;
|
H A D | glsLongStressCase.hpp | 65 glu::DataType type; 77 type = glu::TYPE_FLOAT; in set() 85 type = glu::getDataTypeFloatVec(ValSize); in set() 93 type = glu::getDataTypeMatrix(ValCols, ValRows); in set() 100 type = glu::TYPE_INT; in set() 108 type = glu::getDataTypeVector(glu::TYPE_INT, ValSize); in set() 134 glu::TextureTestUtil::TextureType textureType; 149 TextureSpec (const glu::TextureTestUtil::TextureType texType, in TextureSpec() 273 const glu [all...] |
H A D | glsFragOpInteractionCase.cpp | 79 static void computeVertexLayout (const vector<rsg::ShaderInput*>& attributes, int numVertices, vector<glu::VertexArrayBinding>* layout, int* stride) in computeVertexLayout() 94 layout->push_back(glu::va::Float(var->getName(), numComps, numVertices, 0 /* computed later */, (const float*)(deUintptr)curOffset)); in computeVertexLayout() 99 for (vector<glu::VertexArrayBinding>::iterator vaIter = layout->begin(); vaIter != layout->end(); ++vaIter) in computeVertexLayout() 114 const std::vector<glu::VertexArrayBinding>& getLayout (void) const { return m_layout; } in getLayout() 117 const glu::VertexArrayBinding& getLayoutEntry (int ndx) const { return m_layout[ndx]; } in getLayoutEntry() 121 std::vector<glu::VertexArrayBinding> m_layout; 131 static inline glu::VertexArrayBinding getEntryWithPointer (const VertexDataStorage& data, int ndx) in getEntryWithPointer() 133 const glu::VertexArrayBinding& entry = data.getLayoutEntry(ndx); in getEntryWithPointer() 134 return glu::VertexArrayBinding(entry.binding, glu in getEntryWithPointer() [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/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/vulkan/ray_tracing/ |
H A D | vktRayTracingBuiltinTests.cpp | 423 programCollection.glslSources.add("rgen") << glu::RaygenSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 430 programCollection.glslSources.add("rgen") << glu::RaygenSource(updateRayTracingGLSL(getCommonRayGenerationShader())) << buildOptions; in initPrograms() 447 programCollection.glslSources.add("ahit") << glu::AnyHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 450 programCollection.glslSources.add("chit") << glu::ClosestHitSource(updateRayTracingGLSL(getHitPassthrough())) << buildOptions; in initPrograms() 451 programCollection.glslSources.add("miss") << glu::MissSource(updateRayTracingGLSL(getMissPassthrough())) << buildOptions; in initPrograms() 458 programCollection.glslSources.add("rgen") << glu::RaygenSource(updateRayTracingGLSL(getCommonRayGenerationShader())) << buildOptions; in initPrograms() 475 programCollection.glslSources.add("chit") << glu::ClosestHitSource(updateRayTracingGLSL(css.str())) << buildOptions; in initPrograms() 478 programCollection.glslSources.add("ahit") << glu::AnyHitSource(updateRayTracingGLSL(getHitPassthrough())) << buildOptions; in initPrograms() 479 programCollection.glslSources.add("miss") << glu::MissSource(updateRayTracingGLSL(getMissPassthrough())) << buildOptions; in initPrograms() 486 programCollection.glslSources.add("rgen") << glu in initPrograms() [all...] |
H A D | vktRayTracingComplexControlFlowTests.cpp | 1412 programCollection.glslSources.add("rgen") << glu::RaygenSource(css.str()) << buildOptions; in initPrograms() 1413 programCollection.glslSources.add("cal0") << glu::CallableSource(calleeShader) << buildOptions; in initPrograms() 1420 programCollection.glslSources.add("rgen") << glu::RaygenSource(getCommonRayGenerationShader()) << buildOptions; in initPrograms() 1436 programCollection.glslSources.add("chit") << glu::ClosestHitSource(css.str()) << buildOptions; in initPrograms() 1437 programCollection.glslSources.add("cal0") << glu::CallableSource(calleeShader) << buildOptions; in initPrograms() 1439 programCollection.glslSources.add("ahit") << glu::AnyHitSource(getHitPassthrough()) << buildOptions; in initPrograms() 1440 programCollection.glslSources.add("miss") << glu::MissSource(getMissPassthrough()) << buildOptions; in initPrograms() 1441 programCollection.glslSources.add("sect") << glu::IntersectionSource(getIntersectionPassthrough()) << buildOptions; in initPrograms() 1448 programCollection.glslSources.add("rgen") << glu::RaygenSource(getCommonRayGenerationShader()) << buildOptions; in initPrograms() 1461 programCollection.glslSources.add("miss") << glu in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/ |
H A D | vktDynamicStateVPTests.cpp | 139 : ViewportStateBaseCase (context, pipelineConstructionType, shaders.at(glu::SHADERTYPE_VERTEX), shaders.at(glu::SHADERTYPE_FRAGMENT), shaders.at(glu::SHADERTYPE_MESH)) in ViewportParamTestInstance() 186 : ViewportStateBaseCase (context, pipelineConstructionType, shaders.at(glu::SHADERTYPE_VERTEX), shaders.at(glu::SHADERTYPE_FRAGMENT), shaders.at(glu::SHADERTYPE_MESH)) in ScissorParamTestInstance() 239 : DynamicStateBaseClass (context, pipelineConstructionType, shaders.at(glu::SHADERTYPE_VERTEX), shaders.at(glu::SHADERTYPE_FRAGMENT), shaders.at(glu::SHADERTYPE_MESH)) in ViewportArrayTestInstance() 240 , m_geometryShaderName (shaders.at(glu in ViewportArrayTestInstance() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/ |
H A D | vktDynamicStateVPTests.cpp | 137 : ViewportStateBaseCase (context, pipelineConstructionType, shaders.at(glu::SHADERTYPE_VERTEX), shaders.at(glu::SHADERTYPE_FRAGMENT), shaders.at(glu::SHADERTYPE_MESH)) in ViewportParamTestInstance() 184 : ViewportStateBaseCase (context, pipelineConstructionType, shaders.at(glu::SHADERTYPE_VERTEX), shaders.at(glu::SHADERTYPE_FRAGMENT), shaders.at(glu::SHADERTYPE_MESH)) in ScissorParamTestInstance() 237 : DynamicStateBaseClass (context, pipelineConstructionType, shaders.at(glu::SHADERTYPE_VERTEX), shaders.at(glu::SHADERTYPE_FRAGMENT), shaders.at(glu::SHADERTYPE_MESH)) in ViewportArrayTestInstance() 238 , m_geometryShaderName (shaders.at(glu in ViewportArrayTestInstance() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fTextureFilteringTests.cpp | 55 using namespace glu::TextureTestUtil; 138 const glu::TextureCubeArray* texture; 148 FilterCase (const glu::TextureCubeArray* tex_, const tcu::Vec2& bottomLeft_, const tcu::Vec2& topRight_, const tcu::Vec2& layerRange_) in FilterCase() 157 glu::TextureCubeArray* m_gradientTex; 158 glu::TextureCubeArray* m_gridTex; 188 , m_renderer (context.getRenderContext(), context.getTestContext().getLog(), glu::GLSL_VERSION_310_ES, glu::PRECISION_HIGHP) in TextureCubeArrayFilteringCase() 201 const bool isES32orGL45 = glu::contextSupports(ctxType, glu::ApiType::es(3, 2)) || in init() 202 glu in init() [all...] |
H A D | es31fShaderImageLoadStoreTests.cpp | 56 using glu::RenderContext; 81 using namespace glu::TextureTestUtil; 278 static inline int getGLTextureMaxSize (glu::CallLogWrapper glLog, TextureType texType) in getGLTextureMaxSize() 383 glu::ContextType contextType = renderContext.getType(); in supportsES32orGL45() 384 return glu::contextSupports(contextType, glu::ApiType::es(3, 2)) || in supportsES32orGL45() 385 glu::contextSupports(contextType, glu::ApiType::core(4, 5)); in supportsES32orGL45() 388 static inline void checkTextureTypeExtensions (const glu::ContextInfo& contextInfo, TextureType type, const RenderContext& renderContext) in checkTextureTypeExtensions() 730 static void setTextureStorage (glu [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fFboTestCase.cpp | 62 glu::RenderContext& renderCtx = TestCase::m_context.getRenderContext(); in iterate() 90 throw glu::Error(err, glu::getErrorStr(err).toString().c_str(), DE_NULL, __FILE__, __LINE__); in iterate() 148 throw glu::Error((int)err, (string("Got ") + glu::getErrorStr(err).toString()).c_str(), DE_NULL, __FILE__, __LINE__); in checkError() 151 static bool isRequiredFormat (deUint32 format, glu::RenderContext& renderContext) in isRequiredFormat() 207 return glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2)); in isRequiredFormat() 214 static std::vector<std::string> getEnablingExtensions (deUint32 format, glu::RenderContext& renderContext) in getEnablingExtensions() 216 const bool isES32 = glu in getEnablingExtensions() [all...] |
H A D | es3fFboDepthbufferTests.cpp | 72 GradientShader gradShader (glu::TYPE_FLOAT_VEC4); in render() 73 Texture2DShader texShader (DataTypes() << glu::TYPE_SAMPLER_2D, glu::TYPE_FLOAT_VEC4); in render() 116 tcu::TextureLevel data (glu::mapGLTransferFormat(format, dataType), texW, texH, 1); in render() 132 readPixels(dst, 0, 0, m_width, m_height, glu::mapGLInternalFormat(colorFormat), Vec4(1.0f), Vec4(0.0f)); in render() 164 glu::TransferFormat transferFmt = glu::getTransferFormat(glu::mapGLInternalFormat(m_format)); in render() 166 DepthGradientShader depthGradShader (glu::TYPE_FLOAT_VEC4); in render() 218 readPixels(dst, 0, 0, m_width, m_height, glu in render() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gles2/ |
H A D | es2cTexture3DTests.cpp | 51 using namespace glu::TextureTestUtil; 116 void uploadTexture3D(const glu::Texture3D& texture) const; 118 void renderQuad(glu::TextureTestUtil::TextureType textureType, const float* texCoords) const; 156 !glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 0)) && in isFeatureSupported() 157 !glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::core(3, 0))) in isFeatureSupported() 167 const glu::ContextInfo& contextInfo = m_context.getContextInfo(); in getSupportedCompressedFormats() 178 int glFormat = glu::getGLFormat(format); in getSupportedCompressedFormats() 186 tcu::CompressedTexFormat format = glu in calculateDataSize() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktDynamicRenderingRandomTests.cpp | 899 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 911 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms() 918 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 926 programCollection.glslSources.add("vertPassthrough") << glu::VertexSource(src.str()); in initPrograms() 933 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 943 programCollection.glslSources.add("vertLayer") << glu::VertexSource(src.str()); in initPrograms() 950 src << glu in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
H A D | vktDynamicRenderingRandomTests.cpp | 898 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 910 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms() 917 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 925 programCollection.glslSources.add("vertPassthrough") << glu::VertexSource(src.str()); in initPrograms() 932 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_450) << "\n" in initPrograms() 942 programCollection.glslSources.add("vertLayer") << glu::VertexSource(src.str()); in initPrograms() 949 src << glu in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/ |
H A D | vktTessellationGeometryGridRenderTests.cpp | 150 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 157 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms() 163 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 172 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms() 178 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 193 programCollection.glslSources.add("tesc") << glu::TessellationControlSource(src.str()); in initPrograms() 199 src << glu in initPrograms() [all...] |
H A D | vktTessellationGeometryPointSizeTests.cpp | 173 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 184 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms() 190 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 198 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms() 206 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 226 programCollection.glslSources.add("tesc") << glu::TessellationControlSource(src.str()); in initPrograms() 232 src << glu in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/ |
H A D | vktTessellationGeometryPointSizeTests.cpp | 173 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 184 programCollection.glslSources.add("vert") << glu::VertexSource(src.str()); in initPrograms() 190 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 198 programCollection.glslSources.add("frag") << glu::FragmentSource(src.str()); in initPrograms() 206 src << glu::getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES) << "\n" in initPrograms() 226 programCollection.glslSources.add("tesc") << glu::TessellationControlSource(src.str()); in initPrograms() 232 src << glu in initPrograms() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl3cTextureSwizzleTests.cpp | 215 const glu::ApiType m_minimum_gl_context; 230 /* 0 */ { glu::ApiType::core(3, 0), 243 { glu::ApiType::core(3, 1), 256 { glu::ApiType::core(3, 0), 269 { glu::ApiType::core(3, 1), 282 { glu::ApiType::core(3, 0), 295 { glu::ApiType::core(3, 1), 308 { glu::ApiType::core(3, 0), 321 { glu::ApiType::core(3, 1), 334 /* 8 */ { glu [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
H A D | vktRayTracingComplexControlFlowTests.cpp | 1412 programCollection.glslSources.add("rgen") << glu::RaygenSource(css.str()) << buildOptions; in initPrograms() 1413 programCollection.glslSources.add("cal0") << glu::CallableSource(calleeShader) << buildOptions; in initPrograms() 1420 programCollection.glslSources.add("rgen") << glu::RaygenSource(getCommonRayGenerationShader()) << buildOptions; in initPrograms() 1436 programCollection.glslSources.add("chit") << glu::ClosestHitSource(css.str()) << buildOptions; in initPrograms() 1437 programCollection.glslSources.add("cal0") << glu::CallableSource(calleeShader) << buildOptions; in initPrograms() 1439 programCollection.glslSources.add("ahit") << glu::AnyHitSource(getHitPassthrough()) << buildOptions; in initPrograms() 1440 programCollection.glslSources.add("miss") << glu::MissSource(getMissPassthrough()) << buildOptions; in initPrograms() 1441 programCollection.glslSources.add("sect") << glu::IntersectionSource(getIntersectionPassthrough()) << buildOptions; in initPrograms() 1448 programCollection.glslSources.add("rgen") << glu::RaygenSource(getCommonRayGenerationShader()) << buildOptions; in initPrograms() 1461 programCollection.glslSources.add("miss") << glu in initPrograms() [all...] |
/third_party/vk-gl-cts/modules/gles3/performance/ |
H A D | es3pShaderOperatorTests.cpp | 54 using namespace glu; 132 static glu::DataType getDataTypeFloatOrVec (int size) in getDataTypeFloatOrVec() 134 return size == 1 ? glu::TYPE_FLOAT : glu::getDataTypeFloatVec(size); in getDataTypeFloatOrVec() 205 OperatorPerformanceCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, 258 glu::RenderContext& m_renderCtx; 562 OperatorPerformanceCase::OperatorPerformanceCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, 804 m_programs.push_back(SharedPtr<ShaderProgram>(new ShaderProgram(m_renderCtx, glu::makeVtxFragSources(vert, frag)))); 851 glu::readPixels(m_renderCtx, 0, 0, tcu::Surface(1, 1).getAccess()); // \note Serves as a more reliable replacement for glFinish(). 1099 glu [all...] |
/third_party/vk-gl-cts/modules/gles2/performance/ |
H A D | es2pShaderOperatorTests.cpp | 54 using namespace glu; 132 static glu::DataType getDataTypeFloatOrVec (int size) in getDataTypeFloatOrVec() 134 return size == 1 ? glu::TYPE_FLOAT : glu::getDataTypeFloatVec(size); in getDataTypeFloatOrVec() 205 OperatorPerformanceCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, 258 glu::RenderContext& m_renderCtx; 562 OperatorPerformanceCase::OperatorPerformanceCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, 804 m_programs.push_back(SharedPtr<ShaderProgram>(new ShaderProgram(m_renderCtx, glu::makeVtxFragSources(vert, frag)))); 851 glu::readPixels(m_renderCtx, 0, 0, tcu::Surface(1, 1).getAccess()); // \note Serves as a more reliable replacement for glFinish(). 1099 glu [all...] |