/external/eigen/Eigen/src/SparseLU/ |
SparseLU_panel_bmod.h | 51 * \param glu Global LU data. 58 IndexVector& segrep, IndexVector& repfnz, GlobalLU_t& glu) 79 fsupc = glu.xsup(glu.supno(krep)); 81 nsupr = glu.xlsub(fsupc+1) - glu.xlsub(fsupc); 83 lptr = glu.xlsub(fsupc); 120 luptr = glu.xlusup(fsupc); 128 Index irow = glu.lsub(isub); 135 luptr = glu.xlusup(fsupc) [all...] |
/external/deqp/modules/gles31/functional/ |
es31fShaderStateQueryTests.cpp | 46 static inline std::string brokenShaderSource (const glu::ContextType &contextType) 48 const std::string glslVersionDecl = glu::getGLSLVersionDeclaration(glu::getContextTypeGLSLVersion(contextType)); 100 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2)); 109 std::string(glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType).toString()), 110 "Uniform type " + glu::getShaderVarTypeStr(samplerTypes[typeNdx].glType).toString()); 116 shaderArgs["VERSIONDECL"] = glu::getGLSLVersionDeclaration(glu::getContextTypeGLSLVersion(m_context.getRenderContext().getType())); 121 glu::ShaderProgram program (m_context.getRenderContext(), glu::ProgramSources() << glu::VertexSo (…) [all...] |
es31fSSBOLayoutCase.hpp | 31 namespace glu namespace 69 BufferVar (const char* name, const glu::VarType& type, deUint32 flags); 72 const glu::VarType& getType (void) const { return m_type; } 77 glu::VarType m_type; 123 glu::StructType& allocStruct (const char* name); 124 const glu::StructType* findStruct (const char* name) const; 125 void getNamedStructs (std::vector<const glu::StructType*>& structs) const; 136 std::vector<glu::StructType*> m_structs; 155 SSBOLayoutCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, glu::GLSLVersion glslVersion, BufferMode bufferMode) [all...] |
es31fOpaqueTypeIndexingTests.cpp | 60 using namespace glu; 119 static TextureType getTextureType (glu::DataType samplerType) 123 case glu::TYPE_SAMPLER_1D: 124 case glu::TYPE_INT_SAMPLER_1D: 125 case glu::TYPE_UINT_SAMPLER_1D: 126 case glu::TYPE_SAMPLER_1D_SHADOW: 129 case glu::TYPE_SAMPLER_2D: 130 case glu::TYPE_INT_SAMPLER_2D: 131 case glu::TYPE_UINT_SAMPLER_2D: 132 case glu::TYPE_SAMPLER_2D_SHADOW [all...] |
es31fStencilTexturingTests.cpp | 123 static void drawTestPattern (const glu::RenderContext& renderCtx, int width, int height) 125 const glu::ShaderProgram program(renderCtx, glu::ProgramSources() 126 << glu::VertexSource( 133 << glu::FragmentSource( 157 const glu::VertexArrayBinding posBinding = glu::va::Float("a_position", 2, (int)positions.size(), 0, positions[0].getPtr()); 158 glu::draw(renderCtx, program.getProgram(), 1, &posBinding, glu::pr::Triangles((int)indices.size(), &indices[0])); 199 static void blitStencilToColor2D (const glu::RenderContext& renderCtx, deUint32 srcTex, int width, int height [all...] |
es31fNegativeAdvancedBlendEquationTests.cpp | 134 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); 135 const glu::GLSLVersion version = isES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES; 138 source << glu::getGLSLVersionDeclaration(version) << "\n" 149 const bool isES32 = contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3, 2)); 150 const glu::GLSLVersion version = isES32 ? glu::GLSL_VERSION_320_ES : glu::GLSL_VERSION_310_ES; 153 source << glu::getGLSLVersionDeclaration(version) << "\n [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
vktOpaqueTypeIndexingTests.cpp | 75 const glu::ShaderType shaderType, 87 const glu::ShaderType m_shaderType; 98 const glu::ShaderType shaderType, 113 const glu::ShaderType m_shaderType; 124 const glu::ShaderType shaderType, 148 const glu::ShaderType shaderType, 198 static deUint32 getFirstFreeBindingLocation (const glu::ShaderType shaderType) 204 case glu::SHADERTYPE_TESSELLATION_CONTROL: 205 case glu::SHADERTYPE_TESSELLATION_EVALUATION: 206 case glu::SHADERTYPE_COMPUTE [all...] |
vktShaderPackingFunctionTests.cpp | 67 static const char* getPrecisionPostfix (glu::Precision precision) 75 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_postfix) == glu::PRECISION_LAST); 80 static const char* getShaderTypePostfix (glu::ShaderType shaderType) 102 ShaderPackingFunctionCase (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType); 113 const glu::ShaderType m_shaderType; 122 ShaderPackingFunctionCase::ShaderPackingFunctionCase (tcu::TestContext& testCtx, const char* name, const char* description, glu::ShaderType shaderType) 146 ShaderPackingFunctionTestInstance (Context& context, glu::ShaderType shaderType, ShaderSpec spec, de::SharedPtr<ShaderExecutor> executor, const char* name) 158 const glu::ShaderType m_shaderType; 169 PackSnorm2x16CaseInstance (Context& context, glu::ShaderType shaderType, ShaderSpec spec, glu::Precision precision, de::SharedPtr<ShaderExecutor> executor, const char* name [all...] |
/external/deqp/modules/glshared/ |
glsBufferTestUtil.hpp | 39 namespace glu namespace 61 class BufferCase : public tcu::TestCase, public glu::CallLogWrapper 64 BufferCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description); 75 glu::RenderContext& m_renderCtx; 115 class BufferWriterBase : protected glu::CallLogWrapper 118 BufferWriterBase (glu::RenderContext& renderCtx, tcu::TestLog& log); 127 glu::RenderContext& m_renderCtx; 137 BufferWriter (glu::RenderContext& renderCtx, tcu::TestLog& log, WriteType writeType); 155 BufferSubDataWriter (glu::RenderContext& renderCtx, tcu::TestLog& log) : BufferWriterBase(renderCtx, log) {} 167 BufferWriteMapWriter (glu::RenderContext& renderCtx, tcu::TestLog& log) : BufferWriterBase(renderCtx, log) { [all...] |
glsStateQueryUtil.hpp | 33 namespace glu namespace 36 } // glu 50 (RES).fail(std::string("Got Error ") + glu::getErrorStr(err).toString() + ": " + (MSG)); \ 384 void queryState (tcu::ResultCollector& result, glu::CallLogWrapper& gl, QueryType type, glw::GLenum pname, QueriedState& state); 385 void queryIndexedState (tcu::ResultCollector& result, glu::CallLogWrapper& gl, QueryType type, glw::GLenum target, int index, QueriedState& state); 386 void queryAttributeState (tcu::ResultCollector& result, glu::CallLogWrapper& gl, QueryType type, glw::GLenum target, int index, QueriedState& state); 387 void queryFramebufferState (tcu::ResultCollector& result, glu::CallLogWrapper& gl, QueryType type, glw::GLenum target, glw::GLenum pname, QueriedState& state); 388 void queryProgramState (tcu::ResultCollector& result, glu::CallLogWrapper& gl, QueryType type, glw::GLuint program, glw::GLenum pname, QueriedState& state); 389 void queryPipelineState (tcu::ResultCollector& result, glu::CallLogWrapper& gl, QueryType type, glw::GLuint pipeline, glw::GLenum pname, QueriedState& state); 390 void queryTextureParamState (tcu::ResultCollector& result, glu::CallLogWrapper& gl, QueryType type, glw::GLenum target, glw::GLenum pname, QueriedState& state) [all...] |
glsSamplerObjectTest.cpp | 72 TextureSamplerTest::TextureSamplerTest (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const TestSpec& spec) 212 if (glu::isGLSLVersionSupported(m_renderCtx.getType(), glu::GLSL_VERSION_300_ES)) 224 else if (glu::isGLSLVersionSupported(m_renderCtx.getType(), glu::GLSL_VERSION_330)) 240 m_program = new glu::ShaderProgram(m_renderCtx, 241 glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderTemplate).specialize(params), 325 glu::VertexArrayBinding vertexArrays[] = 327 glu::VertexArrayBinding(glu::BindingPoint("a_position"), glu::VertexArrayPointer(glu::VTX_COMP_FLOAT, glu::VTX_COMP_CONVERT_NO (…) [all...] |
glsStateChangePerfTestCases.hpp | 29 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;
|
glsFragmentOpUtil.cpp | 110 static const char* getVertSrc (glu::GLSLVersion glslVersion) 112 if (glslVersion == glu::GLSL_VERSION_100_ES) 114 else if (glslVersion == glu::GLSL_VERSION_300_ES) 116 else if (glslVersion == glu::GLSL_VERSION_330) 123 static const char* getFragSrc (glu::GLSLVersion glslVersion) 125 if (glslVersion == glu::GLSL_VERSION_100_ES) 127 else if (glslVersion == glu::GLSL_VERSION_300_ES) 129 else if (glslVersion == glu::GLSL_VERSION_330) 136 QuadRenderer::QuadRenderer (const glu::RenderContext& context, glu::GLSLVersion glslVersion [all...] |
glsMemoryStressCase.cpp | 98 TextureRenderer (tcu::TestLog& log, glu::RenderContext& renderContext); 103 glu::ShaderProgram* m_program; 104 glu::RenderContext& m_renderCtx; 177 TextureRenderer::TextureRenderer (tcu::TestLog& log, glu::RenderContext& renderContext) 184 const glu::ContextType ctxType = renderContext.getType(); 186 if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_300_ES)) 187 m_program = new glu::ShaderProgram(m_renderCtx, glu::makeVtxFragSources(s_vertexShaderGLES3, s_fragmentShaderGLES3)); 188 else if (glu::isGLSLVersionSupported(ctxType, glu::GLSL_VERSION_100_ES) [all...] |
/external/deqp/external/vulkancts/framework/vulkan/ |
vkPrograms.cpp | 105 ProgramBinary* buildProgram (const glu::ProgramSources& program, ProgramFormat binaryFormat, glu::ShaderProgramInfo* buildInfo) 212 glu::ShaderType getGluShaderType (VkShaderStageFlagBits shaderStage) 216 case VK_SHADER_STAGE_VERTEX_BIT: return glu::SHADERTYPE_VERTEX; 217 case VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT: return glu::SHADERTYPE_TESSELLATION_CONTROL; 218 case VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT: return glu::SHADERTYPE_TESSELLATION_EVALUATION; 219 case VK_SHADER_STAGE_GEOMETRY_BIT: return glu::SHADERTYPE_GEOMETRY; 220 case VK_SHADER_STAGE_FRAGMENT_BIT: return glu::SHADERTYPE_FRAGMENT; 221 case VK_SHADER_STAGE_COMPUTE_BIT: return glu::SHADERTYPE_COMPUTE; 224 return glu::SHADERTYPE_LAST [all...] |
/external/deqp/framework/platform/android/ |
tcuAndroidPlatform.hpp | 39 class Platform : public tcu::Platform, private eglu::Platform, private glu::Platform, private vk::Platform 47 virtual const glu::Platform& getGLPlatform (void) const { return static_cast<const glu::Platform&>(*this); }
|
/external/deqp/modules/gles2/functional/ |
es2fUniformApiTests.cpp | 63 using glu::ShaderProgram; 64 using glu::StructType; 68 typedef bool (* dataTypePredicate)(glu::DataType); 74 static const glu::DataType s_testDataTypes[] = 76 glu::TYPE_FLOAT, 77 glu::TYPE_FLOAT_VEC2, 78 glu::TYPE_FLOAT_VEC3, 79 glu::TYPE_FLOAT_VEC4, 80 glu::TYPE_FLOAT_MAT2, 81 glu::TYPE_FLOAT_MAT3 [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
vktUniformBlockTests.cpp | 76 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); // First member is unused. 77 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); 78 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH)); 101 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); 102 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); 103 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH)); 106 block.addUniform(Uniform("u", VarType(glu::TYPE_UINT, PRECISION_LOW))); 108 block.addUniform(Uniform("v", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_MEDIUM))); 128 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH)); 129 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
vktSSBOLayoutCase.cpp | 60 using glu::VarType; 61 using glu::StructType; 62 using glu::StructMember; 150 stream << entry.name << " { type = " << glu::getDataTypeName(entry.type) 245 int getDataTypeByteSize (glu::DataType type) 247 return glu::getDataTypeScalarSize(type)*(int)sizeof(deUint32); 250 int getDataTypeByteAlignment (glu::DataType type) 254 case glu::TYPE_FLOAT: 255 case glu::TYPE_INT: 256 case glu::TYPE_UINT [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderPrecisionTests.cpp | 64 static glu::ShaderProgram* createFloatPrecisionEvalProgram (const glu::RenderContext& context, glu::Precision precision, const char* evalOp, bool isVertexCase) 66 glu::DataType type = glu::TYPE_FLOAT; 67 glu::DataType outType = glu::TYPE_UINT; 68 const char* typeName = glu::getDataTypeName(type); 69 const char* outTypeName = glu::getDataTypeName(outType); 70 const char* precName = glu::getPrecisionName(precision) [all...] |
es3fFragmentOutputTests.cpp | 42 // For getFormatName() \todo [pyry] Move to glu? 96 : type (glu::TYPE_LAST) 97 , precision (glu::PRECISION_LAST) 103 FragmentOutput (glu::DataType type_, glu::Precision precision_, int location_, int arrayLength_ = 0) 111 glu::DataType type; 112 glu::Precision precision; 150 glu::ShaderProgram* m_program; 169 static glu::ShaderProgram* createProgram (const glu::RenderContext& context, const vector<FragmentOutput>& outputs [all...] |
/external/deqp/framework/opengl/ |
gluFboRenderContext.cpp | 35 namespace glu namespace 66 const tcu::IVec4 bits = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(colorFormat)); 72 const tcu::TextureFormat combinedFormat = glu::mapGLInternalFormat(depthStencilFormat); 78 deUint32 chooseColorFormat (const glu::RenderConfig& config) 95 const tcu::IVec4 bits = tcu::getTextureFormatBitDepth(glu::mapGLInternalFormat(format)); 97 if (config.redBits != glu::RenderConfig::DONT_CARE && 101 if (config.greenBits != glu::RenderConfig::DONT_CARE && 105 if (config.blueBits != glu::RenderConfig::DONT_CARE && 109 if (config.alphaBits != glu::RenderConfig::DONT_CARE && 119 deUint32 chooseDepthStencilFormat (const glu::RenderConfig& config [all...] |
/external/deqp/modules/gles3/stress/ |
es3sLongShaderTests.cpp | 82 const char* getConstShaderSource (const glu::ShaderType shaderType) 84 DE_ASSERT(shaderType == glu::SHADERTYPE_VERTEX || shaderType == glu::SHADERTYPE_FRAGMENT); 86 if (shaderType == glu::SHADERTYPE_VERTEX) 162 glu::ShaderType shaderType; 168 LongShaderSpec (const glu::ShaderType shaderTypeInit, const deUint32 opsTotalInit) 184 glu::ShaderSource getSource (void); 214 DE_ASSERT(m_spec.shaderType == glu::SHADERTYPE_VERTEX || m_spec.shaderType == glu::SHADERTYPE_FRAGMENT); 217 glu::ShaderSource LongShaderGenerator::getSource (void [all...] |
/external/deqp/modules/gles2/accuracy/ |
es2aVaryingInterpolationTests.cpp | 100 InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective); 106 glu::Precision m_precision; 112 InterpolationCase::InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective) 125 static bool isValidFloat (glu::Precision precision, float val) 127 if (precision == glu::PRECISION_MEDIUMP) 140 static bool isValidFloatVec (glu::Precision precision, const tcu::Vector<float, Size>& vec) 185 templateParams["PRECISION"] = glu::getPrecisionName(m_precision); 187 glu::ShaderProgram program(m_context.getRenderContext(), 188 glu::makeVtxFragSources(tcu::StringTemplate(s_vertShaderTemplate).specialize(templateParams), 193 if (m_precision == glu::PRECISION_HIGHP && !m_context.getContextInfo().isFragmentHighPrecisionSupported() [all...] |
/external/deqp/modules/gles3/accuracy/ |
es3aVaryingInterpolationTests.cpp | 103 InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective); 109 glu::Precision m_precision; 115 InterpolationCase::InterpolationCase (Context& context, const char* name, const char* desc, glu::Precision precision, const tcu::Vec3& minVal, const tcu::Vec3& maxVal, bool projective) 128 static bool isValidFloat (glu::Precision precision, float val) 130 if (precision == glu::PRECISION_MEDIUMP) 143 static bool isValidFloatVec (glu::Precision precision, const tcu::Vector<float, Size>& vec) 192 templateParams["PRECISION"] = glu::getPrecisionName(m_precision); 194 glu::ShaderProgram program(m_context.getRenderContext(), 195 glu::makeVtxFragSources(tcu::StringTemplate(s_vertShaderTemplate).specialize(templateParams), 200 if (m_precision == glu::PRECISION_HIGHP && !m_context.getContextInfo().isFragmentHighPrecisionSupported() [all...] |