Home
last modified time | relevance | path

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

1234

/external/angle/src/compiler/translator/
DStaticType.h41 constexpr StaticMangledName BuildStaticMangledName(TBasicType basicType, in BuildStaticMangledName() argument
49 TBasicMangledName typeName(basicType); in BuildStaticMangledName()
65 constexpr StaticArrayMangledName BuildStaticArrayMangledName(TBasicType basicType, in BuildStaticArrayMangledName() argument
74 BuildStaticMangledName(basicType, precision, qualifier, primarySize, secondarySize); in BuildStaticArrayMangledName()
91 template <TBasicType basicType,
97 BuildStaticMangledName(basicType, precision, qualifier, primarySize, secondarySize);
100 template <TBasicType basicType,
108 BuildStaticArrayMangledName(basicType,
127 template <TBasicType basicType,
133 TType(basicType,
[all …]
DIntermNode.cpp52 TBasicType basicType, in UndefinedConstantFoldingError() argument
59 switch (basicType) in UndefinedConstantFoldingError()
819 TBasicType basicType = getBasicType(); in getConstantValue() local
842 constArray[resultIndex].cast(basicType, argumentConstantValue[0]); in getConstantValue()
856 constArray[resultIndex].cast(basicType, argumentConstantValue[0]); in getConstantValue()
877 basicType, argumentConstantValue[col * argumentRows + row]); in getConstantValue()
904 constArray[resultIndex].cast(basicType, argumentConstantValue[i]); in getConstantValue()
1729 TBasicType basicType = mLeft->getBasicType(); in promote() local
1738 setType(TType(basicType, higherPrecision, resultQualifier, in promote()
1744 setType(TType(basicType, higherPrecision, resultQualifier, in promote()
[all …]
/external/deqp-deps/glslang/glslang/MachineIndependent/
Dglslang.y1017 if ($1.basicType == EbtVoid) {
1164 parseContext.precisionQualifierCheck($$.loc, $$.basicType, $$.qualifier);
1181 parseContext.precisionQualifierCheck($2.loc, $2.basicType, $2.qualifier);
1315 if ($$.basicType == EbtVoid)
1316 $$.basicType = $2.basicType;
1678 $$.basicType = EbtVoid;
1682 $$.basicType = EbtFloat;
1686 $$.basicType = EbtInt;
1691 $$.basicType = EbtUint;
1695 $$.basicType = EbtBool;
[all …]
Dglslang.m41017 if ($1.basicType == EbtVoid) {
1164 parseContext.precisionQualifierCheck($$.loc, $$.basicType, $$.qualifier);
1181 parseContext.precisionQualifierCheck($2.loc, $2.basicType, $2.qualifier);
1315 if ($$.basicType == EbtVoid)
1316 $$.basicType = $2.basicType;
1678 $$.basicType = EbtVoid;
1682 $$.basicType = EbtFloat;
1686 $$.basicType = EbtInt;
1691 $$.basicType = EbtUint;
1695 $$.basicType = EbtBool;
[all …]
Dglslang_tab.cpp5759 if ((yyvsp[-1].interm.type).basicType == EbtVoid) { in yyparse()
5969 …parseContext.precisionQualifierCheck((yyval.interm.type).loc, (yyval.interm.type).basicType, (yyva… in yyparse()
5991 …cisionQualifierCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).basicType, (yyvsp[0].inter… in yyparse()
6191 if ((yyval.interm.type).basicType == EbtVoid) in yyparse()
6192 (yyval.interm.type).basicType = (yyvsp[0].interm.type).basicType; in yyparse()
6803 (yyval.interm.type).basicType = EbtVoid; in yyparse()
6812 (yyval.interm.type).basicType = EbtFloat; in yyparse()
6821 (yyval.interm.type).basicType = EbtInt; in yyparse()
6831 (yyval.interm.type).basicType = EbtUint; in yyparse()
6840 (yyval.interm.type).basicType = EbtBool; in yyparse()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
Dglslang.y1071 if ($1.basicType == EbtVoid) {
1218 parseContext.precisionQualifierCheck($$.loc, $$.basicType, $$.qualifier);
1235 parseContext.precisionQualifierCheck($2.loc, $2.basicType, $2.qualifier);
1369 if ($$.basicType == EbtVoid)
1370 $$.basicType = $2.basicType;
1751 $$.basicType = EbtVoid;
1755 $$.basicType = EbtFloat;
1759 $$.basicType = EbtInt;
1764 $$.basicType = EbtUint;
1768 $$.basicType = EbtBool;
[all …]
Dglslang.m41071 if ($1.basicType == EbtVoid) {
1218 parseContext.precisionQualifierCheck($$.loc, $$.basicType, $$.qualifier);
1235 parseContext.precisionQualifierCheck($2.loc, $2.basicType, $2.qualifier);
1369 if ($$.basicType == EbtVoid)
1370 $$.basicType = $2.basicType;
1751 $$.basicType = EbtVoid;
1755 $$.basicType = EbtFloat;
1759 $$.basicType = EbtInt;
1764 $$.basicType = EbtUint;
1768 $$.basicType = EbtBool;
[all …]
Dglslang_tab.cpp6318 if ((yyvsp[-1].interm.type).basicType == EbtVoid) { in yyparse()
6528 …parseContext.precisionQualifierCheck((yyval.interm.type).loc, (yyval.interm.type).basicType, (yyva… in yyparse()
6550 …cisionQualifierCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).basicType, (yyvsp[0].inter… in yyparse()
6750 if ((yyval.interm.type).basicType == EbtVoid) in yyparse()
6751 (yyval.interm.type).basicType = (yyvsp[0].interm.type).basicType; in yyparse()
7401 (yyval.interm.type).basicType = EbtVoid; in yyparse()
7410 (yyval.interm.type).basicType = EbtFloat; in yyparse()
7419 (yyval.interm.type).basicType = EbtInt; in yyparse()
7429 (yyval.interm.type).basicType = EbtUint; in yyparse()
7438 (yyval.interm.type).basicType = EbtBool; in yyparse()
[all …]
/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 …]
/external/deqp-deps/glslang/glslang/Include/
DTypes.h1369 TBasicType basicType;
1390 basicType = EbtVoid; in initType()
1436 bool isImage() const { return basicType == EbtSampler && sampler.isImage(); } in isImage()
1437 bool isSubpass() const { return basicType == EbtSampler && sampler.isSubpass(); } in isSubpass()
1450basicType(t), vectorSize(vs), matrixCols(mc), matrixRows(mr), vector1(isVector && vs == 1), coopma… in POOL_ALLOCATOR_NEW_DELETE()
1461basicType(t), vectorSize(vs), matrixCols(mc), matrixRows(mr), vector1(isVector && vs == 1), coopma… in basicType() function
1473 basicType(p.basicType), in TType()
1477 if (basicType == EbtSampler) in TType()
1483 if (p.userDef->basicType == EbtReference) { in TType()
1484 basicType = EbtReference; in TType()
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/
DTypes.h1447 TBasicType basicType;
1472 basicType = EbtVoid; in initType()
1526 bool isImage() const { return basicType == EbtSampler && sampler.isImage(); } in isImage()
1527 bool isSubpass() const { return basicType == EbtSampler && sampler.isSubpass(); } in isSubpass()
1540basicType(t), vectorSize(vs), matrixCols(mc), matrixRows(mr), vector1(isVector && vs == 1), coopma… in POOL_ALLOCATOR_NEW_DELETE()
1554basicType(t), vectorSize(vs), matrixCols(mc), matrixRows(mr), vector1(isVector && vs == 1), coopma… in basicType() function
1569 basicType(p.basicType), in TType()
1576 if (basicType == EbtSampler) in TType()
1582 if (p.userDef->basicType == EbtReference) { in TType()
1583 basicType = EbtReference; in TType()
[all …]
/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.cpp372 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment() local
374 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment()
377 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140BaseAlignment()
378 : glu::getDataTypeMatrixNumRows(basicType); in computeStd140BaseAlignment()
384 return getDataTypeByteAlignment(basicType); in computeStd140BaseAlignment()
413 glu::DataType basicType = type.getBasicType(); in computeStd430BaseAlignment() local
415 if (glu::isDataTypeMatrix(basicType)) in computeStd430BaseAlignment()
418 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd430BaseAlignment()
419 : glu::getDataTypeMatrixNumRows(basicType); in computeStd430BaseAlignment()
425 return getDataTypeByteAlignment(basicType); in computeStd430BaseAlignment()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp326 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment() local
328 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment()
331 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140BaseAlignment()
332 : glu::getDataTypeMatrixNumRows(basicType); in computeStd140BaseAlignment()
338 return getDataTypeByteAlignment(basicType); in computeStd140BaseAlignment()
367 glu::DataType basicType = type.getBasicType(); in computeStd430BaseAlignment() local
369 if (glu::isDataTypeMatrix(basicType)) in computeStd430BaseAlignment()
372 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd430BaseAlignment()
373 : glu::getDataTypeMatrixNumRows(basicType); in computeStd430BaseAlignment()
378 return getDataTypeByteAlignment(basicType); in computeStd430BaseAlignment()
[all …]
/external/mesa3d/src/mesa/main/
Duniform_query.cpp662 log_uniform(const void *values, enum glsl_base_type basicType, in log_uniform() argument
682 switch (basicType) { in log_uniform()
904 enum glsl_base_type basicType, unsigned src_components) in validate_uniform() argument
935 match = (basicType != GLSL_TYPE_DOUBLE); in validate_uniform()
938 match = (basicType == GLSL_TYPE_INT); in validate_uniform()
941 match = (basicType == GLSL_TYPE_INT && _mesa_is_desktop_gl(ctx)); in validate_uniform()
944 match = (basicType == uni->type->base_type); in validate_uniform()
953 glsl_type_name(basicType)); in validate_uniform()
958 log_uniform(values, basicType, components, 1, count, in validate_uniform()
1044 enum glsl_base_type basicType) in copy_uniforms_to_storage() argument
[all …]
/external/swiftshader/src/OpenGL/compiler/
DIntermediate.cpp1012 TBasicType basicType = left->getBasicType(); in promote() local
1019 setType(TType(basicType, higherPrecision, EvqTemporary, in promote()
1024 setType(TType(basicType, higherPrecision, EvqTemporary, in promote()
1030 setType(TType(basicType, higherPrecision, EvqTemporary, in promote()
1037 setType(TType(basicType, higherPrecision, EvqTemporary, in promote()
1044 setType(TType(basicType, higherPrecision, EvqTemporary, in promote()
1072 setType(TType(basicType, higherPrecision, EvqTemporary, in promote()
1081 setType(TType(basicType, higherPrecision, EvqTemporary, in promote()
1144 setType(TType(basicType, higherPrecision, EvqTemporary, in promote()
1783 TBasicType basicType = type.getBasicType(); in fold() local
[all …]
DSymbolTable.h239 TBasicType basicType = type->getBasicType(); in IsGenType() local
240 …return basicType == EbtGenType || basicType == EbtGenIType || basicType == EbtGenUType || basicTyp… in IsGenType()
250 TBasicType basicType = type->getBasicType(); in IsVecType() local
251 …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()
/external/deqp/modules/glshared/
DglsShaderLibraryCase.cpp158 const DataType basicType = val.type.getBasicType(); in genVertexShader() local
159 const DataType floatType = getDataTypeFloatScalars(basicType); in genVertexShader()
164 if (getDataTypeScalarType(basicType) == TYPE_FLOAT) in genVertexShader()
258 const DataType basicType = val.type.getBasicType(); in genFragmentShader() local
259 const DataType floatType = getDataTypeFloatScalars(basicType); in genFragmentShader()
261 const char* const refTypeStr = getDataTypeName(basicType); in genFragmentShader()
263 if (getDataTypeScalarType(basicType) == TYPE_FLOAT) in genFragmentShader()
304 const DataType basicType = val.type.getBasicType(); in specializeVertexShader() local
305 const DataType floatType = getDataTypeFloatScalars(basicType); in specializeVertexShader()
307 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.cpp129 VarType::VarType (glu::DataType basicType, deUint32 flags) in VarType() argument
133 m_data.basicType = basicType; in VarType()
415 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment() local
417 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment()
420 int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140BaseAlignment()
421 : glu::getDataTypeMatrixNumRows(basicType); in computeStd140BaseAlignment()
426 return getDataTypeByteAlignment(basicType); in computeStd140BaseAlignment()
469 glu::DataType basicType = type.getBasicType(); in computeStd140Layout() local
473 entry.type = basicType; in computeStd140Layout()
479 if (glu::isDataTypeMatrix(basicType)) in computeStd140Layout()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp76 VarType::VarType (glu::DataType basicType, deUint32 flags) in VarType() argument
80 m_data.basicType = basicType; in VarType()
411 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment() local
413 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment()
416 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140BaseAlignment()
417 : glu::getDataTypeMatrixNumRows(basicType); in computeStd140BaseAlignment()
423 return getDataTypeByteAlignment(basicType); in computeStd140BaseAlignment()
452 glu::DataType basicType = type.getBasicType(); in computeStd430BaseAlignment() local
454 if (glu::isDataTypeMatrix(basicType)) in computeStd430BaseAlignment()
457 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd430BaseAlignment()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp414 const DataType basicType = val.type.getBasicType(); in specializeFragmentShader() local
415 const char* const refTypeStr = getDataTypeName(basicType); in specializeFragmentShader()
625 const DataType basicType = values[ndx].type.getBasicType(); in computeStd140Layout() local
626 const bool isMatrix = isDataTypeMatrix(basicType); in computeStd140Layout()
627 const int numVecs = isMatrix ? getDataTypeMatrixNumColumns(basicType) : 1; in computeStd140Layout()
628 …pe vecType = isMatrix ? glu::getDataTypeFloatVec(getDataTypeMatrixNumRows(basicType)) : basicType; in computeStd140Layout()
648 const DataType basicType = values[ndx].type.getBasicType(); in computeStd430Layout() local
649 const int numVecs = isDataTypeMatrix(basicType) ? getDataTypeMatrixNumColumns(basicType) : 1; in computeStd430Layout()
650 …Type vecType = isDataTypeMatrix(basicType) ? glu::getDataTypeFloatVec(getDataTypeMatrixNumRows(ba… in computeStd430Layout()
664 const DataType basicType = value.type.getBasicType(); in copyToLayout() local
[all …]
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp643 const glu::DataType basicType = symbol.varType.getBasicType(); in FragmentOutExecutor() local
644 const VkFormat format = getAttributeFormat(basicType); in FragmentOutExecutor()
681 const glu::DataType basicType = outputType.getBasicType(); in getRenderbufferFormatForOutput() local
682 const int numComps = glu::getDataTypeNumComponents(basicType); in getRenderbufferFormatForOutput()
685 switch (glu::getDataTypeScalarType(basicType)) in getRenderbufferFormatForOutput()
801 const glu::DataType basicType = symbol.varType.getBasicType(); in bindAttributes() local
802 const int vecSize = glu::getDataTypeScalarSize(basicType); in bindAttributes()
803 const VkFormat format = getAttributeFormat(basicType); in bindAttributes()
807 if (glu::isDataTypeDoubleOrDVec(basicType)) in bindAttributes()
809 if (glu::isDataTypeFloatOrVec(basicType)) in bindAttributes()
[all …]
/external/deqp/external/openglcts/modules/common/
DglcUniformBlockCase.hpp71 VarType(glu::DataType basicType, deUint32 flags);
95 return m_data.basicType; in getBasicType()
127 glu::DataType basicType; member

1234