/external/deqp/modules/gles3/functional/ |
D | es3fShaderConstExprTests.cpp | 56 …m_context.getRenderContext(), m_context.getContextInfo(), cases, numCases, glu::GLSL_VERSION_300_E… in addChildGroup() 75 …{"radians", "radians(${T} (90.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatRadia… in init() 76 …{"degrees", "degrees(${T} (2.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatDegree… in init() 77 …{"sin", "sin(${T} (3.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatSin(3.0f) … in init() 78 …{"cos", "cos(${T} (3.2))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatCos(3.2f) … in init() 79 …{"tan", "tan(${T} (1.5))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatTan(1.5f) … in init() 80 …{"asin", "asin(${T} (0.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatAsin(0.0f) … in init() 81 …{"acos", "acos(${T} (1.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatAcos(1.0f) … in init() 82 …{"atan_separate", "atan(${T} (-1.0), ${T} (-1.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, d… in init() 83 …{"atan_combined", "atan(${T} (2.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatAtan… in init() [all …]
|
D | es3fShaderCommonFunctionTests.cpp | 123 inline bool supportsSignedZero (glu::Precision precision) in supportsSignedZero() 127 return precision == glu::PRECISION_HIGHP; in supportsSignedZero() 149 static int getMinMantissaBits (glu::Precision precision) in getMinMantissaBits() 157 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(bits) == glu::PRECISION_LAST); in getMinMantissaBits() 167 …CommonFunctionCase (Context& context, const char* name, const char* description, glu::ShaderType … 181 glu::ShaderType m_shaderType; 191 …FunctionCase (Context& context, const char* name, const char* description, glu::ShaderType shaderT… in CommonFunctionCase() 197 m_spec.version = glu::GLSL_VERSION_300_ES; in CommonFunctionCase() 284 const glu::VarType& type; 287 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {} in VarValue() [all …]
|
D | es3fUniformApiTests.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_MAT2X3, [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fShaderConstExprTests.cpp | 55 …m_context.getRenderContext(), m_context.getContextInfo(), cases, numCases, glu::GLSL_VERSION_100_E… in addChildGroup() 74 …{"radians", "radians(${T} (90.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatRadia… in init() 75 …{"degrees", "degrees(${T} (2.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatDegree… in init() 76 …{"sin", "sin(${T} (3.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatSin(3.0f) … in init() 77 …{"cos", "cos(${T} (3.2))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatCos(3.2f) … in init() 78 …{"tan", "tan(${T} (1.5))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatTan(1.5f) … in init() 79 …{"asin", "asin(${T} (0.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatAsin(0.0f) … in init() 80 …{"acos", "acos(${T} (1.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatAcos(1.0f) … in init() 81 …{"atan_separate", "atan(${T} (-1.0), ${T} (-1.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, d… in init() 82 …{"atan_combined", "atan(${T} (2.0))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_FLOAT, deFloatAtan… in init() [all …]
|
D | es2fShaderApiTests.cpp | 72 const char* getSimpleShaderSource (const glu::ShaderType shaderType) in getSimpleShaderSource() 79 case glu::SHADERTYPE_VERTEX: in getSimpleShaderSource() 81 case glu::SHADERTYPE_FRAGMENT: in getSimpleShaderSource() 90 void setShaderSources (glu::Shader& shader, const ShaderSources& sources) in setShaderSources() 131 void queryShaderInfo (glu::RenderContext& renderCtx, deUint32 shader, glu::ShaderInfo& info) in queryShaderInfo() 176 virtual std::string next (const glu::ShaderType shaderType) = 0; 177 virtual bool finished (const glu::ShaderType shaderType) const = 0; 186 bool finished (const glu::ShaderType shaderType) const { DE_UNREF(shaderType); return false; } in finished() 188 std::string next (const glu::ShaderType shaderType); 194 std::string ConstantShaderGenerator::next (const glu::ShaderType shaderType) in next() [all …]
|
/external/deqp/external/openglcts/modules/common/ |
D | glcShaderConstExprTests.cpp | 47 glu::DataType inType; 51 glu::DataType outType; 65 glu::DataType outType; 76 …ExecutorTestCase(deqp::Context& context, const char* name, glu::ShaderType shaderType, const Shade… 84 glu::ShaderType m_shaderType; 90 ExecutorTestCase<OutputType>::ExecutorTestCase(deqp::Context& context, const char* name, glu::Shade… in ExecutorTestCase() 183 glu::ContextType contextType = context.getRenderContext().getType(); in createTestCasesForAllShaderTypes() 186 shaderSpec.version = glu::getContextTypeGLSLVersion(contextType); in createTestCasesForAllShaderTypes() 188 shaderSpec.outputs.push_back(Symbol("out0", glu::VarType(params.outType, glu::PRECISION_HIGHP))); in createTestCasesForAllShaderTypes() 191 std::vector<glu::ShaderType> shaderTypes; in createTestCasesForAllShaderTypes() [all …]
|
/external/deqp/external/openglcts/modules/runner/ |
D | glcKhronosMustpassGl.hpp | 25 { glu::ApiType::core(4, 6), "master", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 }, 26 { glu::ApiType::core(4, 6), "master", DE_NULL, "unspecified", 2, DE_NULL, 113, 47 }, 27 { glu::ApiType::core(4, 6), "master", DE_NULL, "unspecified", 3, "rgba8888d24s8", 64, -1 }, 28 { glu::ApiType::core(4, 6), "master", DE_NULL, "unspecified", 3, "rgba8888d24s8", -1, 64 }, 29 { glu::ApiType::core(4, 5), "master", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 }, 30 { glu::ApiType::core(4, 5), "master", DE_NULL, "unspecified", 2, DE_NULL, 113, 47 }, 31 { glu::ApiType::core(4, 5), "master", DE_NULL, "unspecified", 3, "rgba8888d24s8", 64, -1 }, 32 { glu::ApiType::core(4, 5), "master", DE_NULL, "unspecified", 3, "rgba8888d24s8", -1, 64 }, 33 { glu::ApiType::core(4, 4), "master", DE_NULL, "unspecified", 1, DE_NULL, 64, 64 }, 34 { glu::ApiType::core(4, 4), "master", DE_NULL, "unspecified", 2, DE_NULL, 113, 47 }, [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fNegativeShaderFunctionTests.cpp | 91 glu::DataType samplerDataType; 92 glu::DataType pDataType; 93 glu::DataType offsetsDataType; 94 glu::DataType fourthArgument; 99 static const glu::DataType s_floatTypes[] = 101 glu::TYPE_FLOAT, 102 glu::TYPE_FLOAT_VEC2, 103 glu::TYPE_FLOAT_VEC3, 104 glu::TYPE_FLOAT_VEC4 107 static const glu::DataType s_intTypes[] = [all …]
|
D | es31fProgramInterfaceDefinition.cpp | 45 static const glu::ShaderType s_shaderStageOrder[] = 47 glu::SHADERTYPE_COMPUTE, 49 glu::SHADERTYPE_VERTEX, 50 glu::SHADERTYPE_TESSELLATION_CONTROL, 51 glu::SHADERTYPE_TESSELLATION_EVALUATION, 52 glu::SHADERTYPE_GEOMETRY, 53 glu::SHADERTYPE_FRAGMENT 57 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_shaderStageOrder) == glu::SHADERTYPE_LAST); 59 static bool containsMatchingSubtype (const glu::VarType& varType, bool (*predicate)(glu::DataType)) in containsMatchingSubtype() 75 … bool containsMatchingSubtype (const std::vector<glu::VariableDeclaration>& decls, bool (*predicat… in containsMatchingSubtype() [all …]
|
D | es31fNegativeComputeTests.cpp | 86 void verifyLinkError (NegativeTestContext& ctx, const glu::ShaderProgram& program) in verifyLinkError() 103 void verifyCompileError (NegativeTestContext& ctx, const glu::ShaderProgram& program, glu::ShaderTy… in verifyCompileError() 122 …const bool isES32 = glu::contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3,… in generateComputeShader() 124 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) in generateComputeShader() 125 : getGLSLVersionDeclaration(glu::GLSL_VERSION_310_ES); in generateComputeShader() 140 string genBuiltInSource (glu::ShaderType shaderType) in genBuiltInSource() 147 case glu::SHADERTYPE_VERTEX: in genBuiltInSource() 148 case glu::SHADERTYPE_FRAGMENT: in genBuiltInSource() 151 case glu::SHADERTYPE_COMPUTE: in genBuiltInSource() 155 case glu::SHADERTYPE_GEOMETRY: in genBuiltInSource() [all …]
|
D | es31fProgramUniformTests.cpp | 64 using glu::ShaderProgram; 65 using glu::StructType; 69 typedef bool (* dataTypePredicate)(glu::DataType); 78 static const glu::DataType s_testDataTypes[] = 80 glu::TYPE_FLOAT, 81 glu::TYPE_FLOAT_VEC2, 82 glu::TYPE_FLOAT_VEC3, 83 glu::TYPE_FLOAT_VEC4, 84 glu::TYPE_FLOAT_MAT2, 85 glu::TYPE_FLOAT_MAT2X3, [all …]
|
D | es31fSSBOLayoutTests.cpp | 42 using glu::VarType; 43 using glu::StructType; 78 glu::VarType generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool unusedArrayOk); 95 …: SSBOLayoutCase (context.getTestContext(), context.getRenderContext(), name, description, glu::G… in RandomSSBOLayoutCase() 161 const glu::VarType& lastType = lastVar.getType(); in generateBlock() 162 …const bool isUnsizedArr = lastType.isArrayType() && (lastType.getArraySize() == glu::VarType::UN… in generateBlock() 200 …const glu::VarType type = generateType(rnd, 0, true, isLastMember && (m_features & FEATURE_UNSI… in generateBufferVar() 211 glu::VarType RandomSSBOLayoutCase::generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool… in generateType() 222 const glu::VarType elementType = generateType(rnd, typeDepth, childArrayOk, false); in generateType() 223 return glu::VarType(elementType, glu::VarType::UNSIZED_ARRAY); in generateType() [all …]
|
D | es31fProgramInterfaceDefinitionUtil.cpp | 54 VariableSearchFilter VariableSearchFilter::createShaderTypeFilter (glu::ShaderType type) in createShaderTypeFilter() 56 DE_ASSERT(type < glu::SHADERTYPE_LAST); in createShaderTypeFilter() 63 VariableSearchFilter VariableSearchFilter::createStorageFilter (glu::Storage storage) in createStorageFilter() 65 DE_ASSERT(storage < glu::STORAGE_LAST); in createStorageFilter() 72 VariableSearchFilter VariableSearchFilter::createShaderTypeStorageFilter (glu::ShaderType type, glu… in createShaderTypeStorageFilter() 95 DE_ASSERT(shader->getType() < glu::SHADERTYPE_LAST); in matchesFilter() 99 bool VariableSearchFilter::matchesFilter (const glu::VariableDeclaration& variable) const in matchesFilter() 101 DE_ASSERT(variable.storage < glu::STORAGE_LAST); in matchesFilter() 105 bool VariableSearchFilter::matchesFilter (const glu::InterfaceBlock& block) const in matchesFilter() 107 DE_ASSERT(block.storage < glu::STORAGE_LAST); in matchesFilter() [all …]
|
D | es31fProgramInterfaceQueryTests.cpp | 56 static int getTypeSize (glu::DataType type) in getTypeSize() 58 if (type == glu::TYPE_FLOAT) in getTypeSize() 60 else if (type == glu::TYPE_INT || type == glu::TYPE_UINT) in getTypeSize() 62 else if (type == glu::TYPE_BOOL) in getTypeSize() 69 static int getVarTypeSize (const glu::VarType& type) in getVarTypeSize() 72 …return glu::getDataTypeScalarSize(type.getBasicType()) * getTypeSize(glu::getDataTypeScalarType(ty… in getVarTypeSize() 82 if (type.getArraySize() == glu::VarType::UNSIZED_ARRAY) in getVarTypeSize() 164 static glu::ShaderType getShaderMaskFirstStage (deUint32 mask) in getShaderMaskFirstStage() 166 if (mask & (1u << glu::SHADERTYPE_COMPUTE)) in getShaderMaskFirstStage() 167 return glu::SHADERTYPE_COMPUTE; in getShaderMaskFirstStage() [all …]
|
D | es31fShaderCommonFunctionTests.cpp | 127 inline bool supportsSignedZero (glu::Precision precision) in supportsSignedZero() 131 return precision == glu::PRECISION_HIGHP; in supportsSignedZero() 153 static int getMinMantissaBits (glu::Precision precision) in getMinMantissaBits() 161 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(bits) == glu::PRECISION_LAST); in getMinMantissaBits() 166 static int getMaxNormalizedValueExponent (glu::Precision precision) in getMaxNormalizedValueExponent() 174 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(exponent) == glu::PRECISION_LAST); in getMaxNormalizedValueExponent() 179 static int getMinNormalizedValueExponent (glu::Precision precision) in getMinNormalizedValueExponent() 187 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(exponent) == glu::PRECISION_LAST); in getMinNormalizedValueExponent() 192 static float makeFloatRepresentable (float f, glu::Precision precision) in makeFloatRepresentable() 194 if (precision == glu::PRECISION_HIGHP) in makeFloatRepresentable() [all …]
|
D | es31fShaderIntegerFunctionTests.cpp | 71 const glu::VarType& type; 74 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {} in VarValue() 81 const glu::DataType basicType = varValue.type.getBasicType(); in operator <<() 82 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); in operator <<() 83 const int numComponents = glu::getDataTypeScalarSize(basicType); in operator <<() 86 str << glu::getDataTypeName(basicType) << "("; in operator <<() 95 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<() 96 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; in operator <<() 97 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<() 98 …case glu::TYPE_BOOL: str << (((const deUint32*)varValue.value)[compNdx] != 0 ? "true" : "false"); … in operator <<() [all …]
|
D | es31fNegativeShaderFramebufferFetchTests.cpp | 77 …rifyProgramError (NegativeTestContext& ctx, const glu::ShaderProgram& program, ProgramError error… in verifyProgramError() 122 …const bool isES32 = glu::contextSupports(ctx.getRenderContext().getType(), glu::ApiType::es(3,… in last_frag_data_not_defined() 124 …STRING"] = isES32 ? getGLSLVersionDeclaration(glu::GLSL_VERSION_320_ES) : getGLSLVersionDeclarat… in last_frag_data_not_defined() 135 glu::ShaderProgram program(ctx.getRenderContext(), glu::ProgramSources() in last_frag_data_not_defined() 136 << glu::VertexSource(tcu::StringTemplate(vertexShaderSource).specialize(args)) in last_frag_data_not_defined() 137 << glu::FragmentSource(tcu::StringTemplate(fragShaderSource).specialize(args))); in last_frag_data_not_defined() 140 verifyProgramError(ctx, program, PROGRAM_ERROR_LINK, glu::SHADERTYPE_FRAGMENT); in last_frag_data_not_defined() 149 args["GLSL_VERSION_STRING"] = getGLSLVersionDeclaration(glu::GLSL_VERSION_100_ES); in last_frag_data_readonly() 160 glu::ShaderProgram program(ctx.getRenderContext(), glu::ProgramSources() in last_frag_data_readonly() 161 << glu::VertexSource(tcu::StringTemplate(vertexShaderSource).specialize(args)) in last_frag_data_readonly() [all …]
|
D | es31fNegativeShaderStorageTests.cpp | 41 void verifyProgram(NegativeTestContext& ctx, glu::ProgramSources sources) in verifyProgram() 44 const glu::ShaderProgram program (ctx.getRenderContext(), sources); in verifyProgram() 71 glu::ShaderType getGLUShaderType (glw::GLenum glShaderType) in getGLUShaderType() 75 case GL_VERTEX_SHADER: return glu::SHADERTYPE_VERTEX; in getGLUShaderType() 76 case GL_FRAGMENT_SHADER: return glu::SHADERTYPE_FRAGMENT; in getGLUShaderType() 77 case GL_TESS_CONTROL_SHADER: return glu::SHADERTYPE_TESSELLATION_CONTROL; in getGLUShaderType() 78 case GL_TESS_EVALUATION_SHADER: return glu::SHADERTYPE_TESSELLATION_EVALUATION; in getGLUShaderType() 79 case GL_GEOMETRY_SHADER: return glu::SHADERTYPE_GEOMETRY; in getGLUShaderType() 80 case GL_COMPUTE_SHADER: return glu::SHADERTYPE_COMPUTE; in getGLUShaderType() 83 return glu::SHADERTYPE_LAST; in getGLUShaderType() [all …]
|
/external/deqp/modules/glshared/ |
D | glsShaderConstExprTests.cpp | 40 static void addOutputVar (glu::sl::ValueBlock* dst, glu::DataType type, float output) in addOutputVar() 42 dst->outputs.push_back(glu::sl::Value()); in addOutputVar() 45 glu::sl::Value& value = dst->outputs.back(); in addOutputVar() 48 value.type = glu::VarType(type, glu::PRECISION_LAST); in addOutputVar() 53 case glu::TYPE_INT: in addOutputVar() 57 case glu::TYPE_UINT: in addOutputVar() 61 case glu::TYPE_BOOL: in addOutputVar() 65 case glu::TYPE_FLOAT: in addOutputVar() 76 glu::RenderContext& renderContext, in createTests() 77 const glu::ContextInfo& contextInfo, in createTests() [all …]
|
D | glsShaderExecUtil.cpp | 53 static bool isExtensionSupported (const glu::RenderContext& renderCtx, const std::string& extension) in isExtensionSupported() 71 static void checkExtension (const glu::RenderContext& renderCtx, const std::string& extension) in checkExtension() 77 static void checkLimit (const glu::RenderContext& renderCtx, deUint32 pname, int required) in checkLimit() 87 …:TestError("Failed to query " + de::toString(glu::getGettableStateStr(pname)) + " - got " + de::to… in checkLimit() 89 …throw tcu::NotSupportedError("Test requires " + de::toString(glu::getGettableStateStr(pname)) + " … in checkLimit() 96 const bool usesInout = glu::glslVersionUsesInOutQualifiers(shaderSpec.version); in generateVertexShader() 103 src << glu::getGLSLVersionDeclaration(shaderSpec.version) << "\n"; in generateVertexShader() 111 src << in << " " << glu::declare(input->varType, inputPrefix + input->name) << ";\n"; in generateVertexShader() 117 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateVertexShader() 119 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateVertexShader() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutTests.cpp | 55 using glu::VarType; 56 using glu::StructType; 89 glu::VarType generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool unusedArrayOk); 183 const glu::VarType& lastType = lastVar.getType(); in generateBlock() 184 …const bool isUnsizedArr = lastType.isArrayType() && (lastType.getArraySize() == glu::VarType::UN… in generateBlock() 222 …const glu::VarType type = generateType(rnd, 0, true, isLastMember && (m_features & FEATURE_UNSI… in generateBufferVar() 233 glu::VarType RandomSSBOLayoutCase::generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool… in generateType() 244 const glu::VarType elementType = generateType(rnd, typeDepth, childArrayOk, false); in generateType() 245 return glu::VarType(elementType, glu::VarType::UNSIZED_ARRAY); in generateType() 249 vector<glu::VarType> memberTypes; in generateType() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
D | vktShaderIntegerFunctionTests.cpp | 73 const glu::VarType& type; 76 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {} in VarValue() 83 const glu::DataType basicType = varValue.type.getBasicType(); in operator <<() 84 const glu::DataType scalarType = glu::getDataTypeScalarType(basicType); in operator <<() 85 const int numComponents = glu::getDataTypeScalarSize(basicType); in operator <<() 88 str << glu::getDataTypeName(basicType) << "("; in operator <<() 97 case glu::TYPE_FLOAT: str << HexFloat(((const float*)varValue.value)[compNdx]); break; in operator <<() 98 case glu::TYPE_INT: str << ((const deInt32*)varValue.value)[compNdx]; break; in operator <<() 99 case glu::TYPE_UINT: str << tcu::toHex(((const deUint32*)varValue.value)[compNdx]); break; in operator <<() 100 …case glu::TYPE_BOOL: str << (((const deUint32*)varValue.value)[compNdx] != 0 ? "true" : "false"); … in operator <<() [all …]
|
D | vktShaderCommonFunctionTests.cpp | 131 inline bool supportsSignedZero (glu::Precision precision) in supportsSignedZero() 135 return precision == glu::PRECISION_HIGHP; in supportsSignedZero() 157 static int getMinMantissaBits (glu::Precision precision) in getMinMantissaBits() 165 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(bits) == glu::PRECISION_LAST); in getMinMantissaBits() 170 static int getMaxNormalizedValueExponent (glu::Precision precision) in getMaxNormalizedValueExponent() 178 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(exponent) == glu::PRECISION_LAST); in getMaxNormalizedValueExponent() 183 static int getMinNormalizedValueExponent (glu::Precision precision) in getMinNormalizedValueExponent() 191 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(exponent) == glu::PRECISION_LAST); in getMinNormalizedValueExponent() 196 static float makeFloatRepresentable (float f, glu::Precision precision) in makeFloatRepresentable() 198 if (precision == glu::PRECISION_HIGHP) in makeFloatRepresentable() [all …]
|
/external/eigen/Eigen/src/SparseLU/ |
D | SparseLU_column_bmod.h | 54 … BlockIndexVector segrep, BlockIndexVector repfnz, Index fpanelc, GlobalLU_t& glu) in column_bmod() argument 68 jsupno = glu.supno(jcol); in column_bmod() 78 ksupno = glu.supno(krep); in column_bmod() 82 fsupc = glu.xsup(ksupno); in column_bmod() 89 luptr = glu.xlusup(fst_col) + d_fsupc; in column_bmod() 90 lptr = glu.xlsub(fsupc) + d_fsupc; in column_bmod() 97 nsupr = glu.xlsub(fsupc+1) - glu.xlsub(fsupc); in column_bmod() 99 Index lda = glu.xlusup(fst_col+1) - glu.xlusup(fst_col); in column_bmod() 106 …LU_kernel_bmod<1>::run(segsize, dense, tempv, glu.lusup, luptr, lda, nrow, glu.lsub, lptr, no_zero… in column_bmod() 108 …LU_kernel_bmod<Dynamic>::run(segsize, dense, tempv, glu.lusup, luptr, lda, nrow, glu.lsub, lptr, n… in column_bmod() [all …]
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cShaderBallotTests.cpp | 40 ShaderBallotBaseTestCase::ShaderPipeline::ShaderPipeline(glu::ShaderType testedShader, in ShaderPipeline() 52 m_shaders[glu::SHADERTYPE_VERTEX].push_back("#version 450 core\n"); in ShaderPipeline() 53 …m_shaders[glu::SHADERTYPE_VERTEX].push_back(m_testedShader == glu::SHADERTYPE_VERTEX ? testedHeadP… in ShaderPipeline() 54 m_shaders[glu::SHADERTYPE_VERTEX].push_back("in highp vec2 inPosition;\n" in ShaderPipeline() 63 …m_shaders[glu::SHADERTYPE_VERTEX].push_back(m_testedShader == glu::SHADERTYPE_VERTEX ? testedConte… in ShaderPipeline() 65 m_shaders[glu::SHADERTYPE_VERTEX].push_back(" vsColor = outColor;\n" in ShaderPipeline() 70 m_shaders[glu::SHADERTYPE_FRAGMENT].push_back("#version 450 core\n"); in ShaderPipeline() 71 …m_shaders[glu::SHADERTYPE_FRAGMENT].push_back(m_testedShader == glu::SHADERTYPE_FRAGMENT ? testedH… in ShaderPipeline() 72 m_shaders[glu::SHADERTYPE_FRAGMENT].push_back("in highp vec4 gsColor;\n" in ShaderPipeline() 77 m_shaders[glu::SHADERTYPE_FRAGMENT].push_back( in ShaderPipeline() [all …]
|