Home
last modified time | relevance | path

Searched refs:basicType (Results 1 – 25 of 34) sorted by relevance

12

/external/deqp/framework/opengl/
DgluVarTypeUtil.hpp294 DataType basicType = curType.getBasicType(); in findNext() local
296 if (isDataTypeMatrix(basicType)) in findNext()
298 else if (isDataTypeVector(basicType)) in findNext()
349 DataType basicType = curType->getBasicType(); in isValidTypePath() local
353 if (!isDataTypeMatrix(basicType)) in isValidTypePath()
356 basicType = getDataTypeFloatVec(getDataTypeMatrixNumRows(basicType)); in isValidTypePath()
362 if (!isDataTypeVector(basicType)) in isValidTypePath()
365 basicType = getDataTypeScalarType(basicType); in isValidTypePath()
396 DataType basicType = curType->getBasicType(); in getVarType() local
401 basicType = getDataTypeFloatVec(getDataTypeMatrixNumRows(basicType)); in getVarType()
[all …]
DgluVarType.cpp42 VarType::VarType (DataType basicType, Precision precision) in VarType() argument
45 m_data.basic.type = basicType; in VarType()
DgluShaderLibrary.cpp1021 DataType basicType = TYPE_LAST; in parseValue() local
1036 basicType = mapDataTypeToken(m_curToken); in parseValue()
1037 if (basicType == TYPE_INVALID) in parseValue()
1059 value.type = VarType(basicType, PRECISION_LAST); in parseValue()
1072 parseValueElement(basicType, dstBlock->back()); in parseValue()
1090 parseValueElement(basicType, dstBlock->back()); in parseValue()
DgluVarType.hpp53 VarType (DataType basicType, Precision precision); //!< Basic type constructor.
/external/deqp/modules/gles31/functional/
Des31fShaderSharedVarTests.cpp74 …SharedBasicVarCase (Context& context, const char* name, DataType basicType, Precision precision, …
92 static std::string getBasicCaseDescription (DataType basicType, Precision precision, const tcu::UVe… in getBasicCaseDescription() argument
97 str << getDataTypeName(basicType) << ", work group size = " << workGroupSize; in getBasicCaseDescription()
101 SharedBasicVarCase::SharedBasicVarCase (Context& context, const char* name, DataType basicType, Pre… in SharedBasicVarCase() argument
102 : TestCase (context, name, getBasicCaseDescription(basicType, precision, workGroupSize).c_str()) in SharedBasicVarCase()
103 , m_basicType (basicType) in SharedBasicVarCase()
368 for (int basicType = TYPE_FLOAT; basicType <= TYPE_BOOL_VEC4; basicType++) in init() local
370 if (glu::getDataTypeScalarType(DataType(basicType)) == glu::TYPE_DOUBLE) in init()
373 if (glu::isDataTypeBoolOrBVec(DataType(basicType))) in init()
376 …d(new SharedBasicVarCase(m_context, getDataTypeName(DataType(basicType)), DataType(basicType), PRE… in init()
[all …]
Des31fSSBOLayoutCase.cpp377 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment() local
379 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment()
382 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140BaseAlignment()
383 : glu::getDataTypeMatrixNumRows(basicType); in computeStd140BaseAlignment()
389 return getDataTypeByteAlignment(basicType); in computeStd140BaseAlignment()
418 glu::DataType basicType = type.getBasicType(); in computeStd430BaseAlignment() local
420 if (glu::isDataTypeMatrix(basicType)) in computeStd430BaseAlignment()
423 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd430BaseAlignment()
424 : glu::getDataTypeMatrixNumRows(basicType); in computeStd430BaseAlignment()
430 return getDataTypeByteAlignment(basicType); in computeStd430BaseAlignment()
[all …]
Des31fSeparateShaderTests.cpp204 const DataType basicType = input.varType.getBasicType(); in printInputColor() local
207 switch (getDataTypeScalarType(basicType)) in printInputColor()
215 DataType floatType = getDataTypeFloatScalars(basicType); in printInputColor()
224 if (isDataTypeScalarOrVector(basicType)) in printInputColor()
226 switch (getDataTypeScalarSize(basicType)) in printInputColor()
244 else if (isDataTypeMatrix(basicType)) in printInputColor()
246 int rows = getDataTypeMatrixNumRows(basicType); in printInputColor()
247 int columns = getDataTypeMatrixNumColumns(basicType); in printInputColor()
Des31fShaderIntegerFunctionTests.cpp81 const glu::DataType basicType = varValue.type.getBasicType(); in operator <<() local
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 <<()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp289 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment() local
291 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment()
294 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140BaseAlignment()
295 : glu::getDataTypeMatrixNumRows(basicType); in computeStd140BaseAlignment()
301 return getDataTypeByteAlignment(basicType); in computeStd140BaseAlignment()
330 glu::DataType basicType = type.getBasicType(); in computeStd430BaseAlignment() local
332 if (glu::isDataTypeMatrix(basicType)) in computeStd430BaseAlignment()
335 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd430BaseAlignment()
336 : glu::getDataTypeMatrixNumRows(basicType); in computeStd430BaseAlignment()
341 return getDataTypeByteAlignment(basicType); in computeStd430BaseAlignment()
[all …]
/external/mesa3d/src/mesa/main/
Duniform_query.cpp472 log_uniform(const void *values, enum glsl_base_type basicType, in log_uniform() argument
492 switch (basicType) { in log_uniform()
701 enum glsl_base_type basicType, in _mesa_uniform() argument
705 int size_mul = glsl_base_type_is_64bit(basicType) ? 2 : 1; in _mesa_uniform()
738 match = (basicType != GLSL_TYPE_DOUBLE); in _mesa_uniform()
741 match = (basicType == GLSL_TYPE_INT); in _mesa_uniform()
744 match = (basicType == GLSL_TYPE_INT && _mesa_is_desktop_gl(ctx)); in _mesa_uniform()
747 match = (basicType == uni->type->base_type); in _mesa_uniform()
756 glsl_type_name(basicType)); in _mesa_uniform()
761 log_uniform(values, basicType, components, 1, count, in _mesa_uniform()
[all …]
Duniforms.h354 enum glsl_base_type basicType,
362 const GLvoid *values, enum glsl_base_type basicType);
/external/deqp/modules/glshared/
DglsShaderLibraryCase.cpp154 const DataType basicType = val.type.getBasicType(); in genVertexShader() local
155 const DataType floatType = getDataTypeFloatScalars(basicType); in genVertexShader()
160 if (getDataTypeScalarType(basicType) == TYPE_FLOAT) in genVertexShader()
254 const DataType basicType = val.type.getBasicType(); in genFragmentShader() local
255 const DataType floatType = getDataTypeFloatScalars(basicType); in genFragmentShader()
257 const char* const refTypeStr = getDataTypeName(basicType); in genFragmentShader()
259 if (getDataTypeScalarType(basicType) == TYPE_FLOAT) in genFragmentShader()
300 const DataType basicType = val.type.getBasicType(); in specializeVertexShader() local
301 const DataType floatType = getDataTypeFloatScalars(basicType); in specializeVertexShader()
303 const char* const refTypeStr = getDataTypeName(basicType); in specializeVertexShader()
[all …]
DglsShaderExecUtil.cpp547 const glu::DataType basicType = outputType.getBasicType(); in getRenderbufferFormatForOutput() local
548 const int numComps = glu::getDataTypeNumComponents(basicType); in getRenderbufferFormatForOutput()
551 switch (glu::getDataTypeScalarType(basicType)) in getRenderbufferFormatForOutput()
602 const glu::DataType basicType = symbol.varType.getBasicType(); in execute() local
603 const int vecSize = glu::getDataTypeScalarSize(basicType); in execute()
605 if (glu::isDataTypeFloatOrVec(basicType)) in execute()
607 else if (glu::isDataTypeIntOrIVec(basicType)) in execute()
609 else if (glu::isDataTypeUintOrUVec(basicType)) in execute()
611 else if (glu::isDataTypeMatrix(basicType)) in execute()
613 int numRows = glu::getDataTypeMatrixNumRows(basicType); in execute()
[all …]
DglsUniformBlockCase.cpp128 VarType::VarType (glu::DataType basicType, deUint32 flags) in VarType() argument
132 m_data.basicType = basicType; in VarType()
420 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment() local
422 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment()
425 int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140BaseAlignment()
426 : glu::getDataTypeMatrixNumRows(basicType); in computeStd140BaseAlignment()
431 return getDataTypeByteAlignment(basicType); in computeStd140BaseAlignment()
474 glu::DataType basicType = type.getBasicType(); in computeStd140Layout() local
478 entry.type = basicType; in computeStd140Layout()
484 if (glu::isDataTypeMatrix(basicType)) in computeStd140Layout()
[all …]
DglsUniformBlockCase.hpp76 VarType (glu::DataType basicType, deUint32 flags);
86 glu::DataType getBasicType (void) const { return m_data.basicType; } in getBasicType()
109 glu::DataType basicType; member
/external/swiftshader/src/OpenGL/compiler/
DSymbolTable.h254 TBasicType basicType = type->getBasicType(); in IsGenType() local
255 …return basicType == EbtGenType || basicType == EbtGenIType || basicType == EbtGenUType || basicTyp… in IsGenType()
265 TBasicType basicType = type->getBasicType(); in IsVecType() local
266 …return basicType == EbtVec || basicType == EbtIVec || basicType == EbtUVec || basicType == EbtBVec; in IsVecType()
DparseConst.cpp168 TBasicType basicType = type.getBasicType(); in visitConstantUnion() local
180 leftUnionArray[index].cast(basicType, rightUnionArray[i]); in visitConstantUnion()
193 leftUnionArray[i].cast(basicType, rightUnionArray[count]); in visitConstantUnion()
207 leftUnionArray[i].cast(basicType, rightUnionArray[0]); in visitConstantUnion()
DIntermediate.cpp1011 TBasicType basicType = left->getBasicType(); in promote() local
1018 setType(TType(basicType, higherPrecision, EvqTemporary, in promote()
1023 setType(TType(basicType, higherPrecision, EvqTemporary, in promote()
1029 setType(TType(basicType, higherPrecision, EvqTemporary, in promote()
1036 setType(TType(basicType, higherPrecision, EvqTemporary, in promote()
1043 setType(TType(basicType, higherPrecision, EvqTemporary, in promote()
1071 setType(TType(basicType, higherPrecision, EvqTemporary, in promote()
1080 setType(TType(basicType, higherPrecision, EvqTemporary, in promote()
1143 setType(TType(basicType, higherPrecision, EvqTemporary, in promote()
/external/deqp/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp411 const DataType basicType = val.type.getBasicType(); in specializeFragmentShader() local
412 const char* const refTypeStr = getDataTypeName(basicType); in specializeFragmentShader()
622 const DataType basicType = values[ndx].type.getBasicType(); in computeStd140Layout() local
623 const bool isMatrix = isDataTypeMatrix(basicType); in computeStd140Layout()
624 const int numVecs = isMatrix ? getDataTypeMatrixNumColumns(basicType) : 1; in computeStd140Layout()
625 …pe vecType = isMatrix ? glu::getDataTypeFloatVec(getDataTypeMatrixNumRows(basicType)) : basicType; in computeStd140Layout()
645 const DataType basicType = values[ndx].type.getBasicType(); in computeStd430Layout() local
646 const int numVecs = isDataTypeMatrix(basicType) ? getDataTypeMatrixNumColumns(basicType) : 1; in computeStd430Layout()
647 …Type vecType = isDataTypeMatrix(basicType) ? glu::getDataTypeFloatVec(getDataTypeMatrixNumRows(ba… in computeStd430Layout()
661 const DataType basicType = value.type.getBasicType(); in copyToLayout() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp533 const glu::DataType basicType = outputType.getBasicType(); in getRenderbufferFormatForOutput() local
534 const int numComps = glu::getDataTypeNumComponents(basicType); in getRenderbufferFormatForOutput()
537 switch (glu::getDataTypeScalarType(basicType)) in getRenderbufferFormatForOutput()
647 const glu::DataType basicType = symbol.varType.getBasicType(); in bindAttributes() local
648 const int vecSize = glu::getDataTypeScalarSize(basicType); in bindAttributes()
649 const VkFormat format = getAttributeFormat(basicType); in bindAttributes()
653 if (glu::isDataTypeFloatOrVec(basicType)) in bindAttributes()
655 else if (glu::isDataTypeIntOrIVec(basicType)) in bindAttributes()
657 else if (glu::isDataTypeUintOrUVec(basicType)) in bindAttributes()
659 else if (glu::isDataTypeMatrix(basicType)) in bindAttributes()
[all …]
DvktShaderIntegerFunctionTests.cpp83 const glu::DataType basicType = varValue.type.getBasicType(); in operator <<() local
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 <<()
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp71 VarType::VarType (glu::DataType basicType, deUint32 flags) in VarType() argument
75 m_data.basicType = basicType; in VarType()
370 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment() local
372 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment()
375 int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140BaseAlignment()
376 : glu::getDataTypeMatrixNumRows(basicType); in computeStd140BaseAlignment()
381 return getDataTypeByteAlignment(basicType); in computeStd140BaseAlignment()
424 glu::DataType basicType = type.getBasicType(); in computeStd140Layout() local
428 entry.type = basicType; in computeStd140Layout()
434 if (glu::isDataTypeMatrix(basicType)) in computeStd140Layout()
[all …]
DvktUniformBlockCase.hpp78 VarType (glu::DataType basicType, deUint32 flags);
88 glu::DataType getBasicType (void) const { return m_data.basicType; } in getBasicType()
111 glu::DataType basicType; member
/external/deqp/modules/gles2/functional/
Des2fUniformApiTests.cpp175 const glu::DataType basicType = type.getBasicType(); in getDistinctSamplerTypes() local
176 …if (glu::isDataTypeSampler(basicType) && std::find(dst.begin(), dst.end(), basicType) == dst.end()) in getDistinctSamplerTypes()
177 dst.push_back(basicType); in getDistinctSamplerTypes()
225 …const glu::DataType basicType = (glu::DataType)s_testDataTypes[rnd.getInt(0, DE_LENGTH_OF_ARRAY(s… in generateRandomType() local
226 …const glu::Precision precision = glu::isDataTypeBoolOrBVec(basicType) ? glu::PRECISION_LAST : glu:… in generateRandomType()
227 …return isArray ? glu::VarType(glu::VarType(basicType, precision), rnd.getInt(1, 5)) : glu::VarType… in generateRandomType()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineVertexInputTests.cpp160 GlslBasicType basicType; member
303 …if (s_glslTypeDescriptions[m_attributeInfos[attributeNdx].glslType].basicType == GLSL_BASIC_TYPE_D… in VertexInputTest()
593 …if (VertexInputTest::s_glslTypeDescriptions[attributeInfo.glslType].basicType == VertexInputTest::… in getGlslAttributeConditions()
1367 switch (glslTypeDesc.basicType) in isCompatibleType()

12