| /external/angle/src/compiler/translator/ |
| D | StaticType.h | 41 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 …]
|
| D | IntermNode.cpp | 54 TBasicType basicType, in UndefinedConstantFoldingError() argument 61 switch (basicType) in UndefinedConstantFoldingError() 887 TBasicType basicType = getBasicType(); in getConstantValue() local 910 constArray[resultIndex].cast(basicType, argumentConstantValue[0]); in getConstantValue() 924 constArray[resultIndex].cast(basicType, argumentConstantValue[0]); in getConstantValue() 945 basicType, argumentConstantValue[col * argumentRows + row]); in getConstantValue() 972 constArray[resultIndex].cast(basicType, argumentConstantValue[i]); in getConstantValue() 3481 TBasicType basicType = EbtVoid; in FoldAggregateBuiltIn() local 3490 basicType = argConstant->getType().getBasicType(); in FoldAggregateBuiltIn() 3512 ASSERT(basicType == EbtFloat); in FoldAggregateBuiltIn() [all …]
|
| /external/angle/third_party/glslang/src/glslang/MachineIndependent/ |
| D | glslang.y | 1071 if ($1.basicType == EbtVoid) { 1216 … parseContext.precisionQualifierCheck($$.loc, $$.basicType, $$.qualifier, $$.isCoopmatOrvec()); 1233 … parseContext.precisionQualifierCheck($2.loc, $2.basicType, $2.qualifier, $2.isCoopmatOrvec()); 1381 if ($$.basicType == EbtVoid) 1382 $$.basicType = $2.basicType; 1769 $$->basicType = $1.basicType; 1791 $$.basicType = EbtVoid; 1795 $$.basicType = EbtFloat; 1799 $$.basicType = EbtInt; 1804 $$.basicType = EbtUint; [all …]
|
| D | glslang_tab.cpp | 6429 if ((yyvsp[-1].interm.type).basicType == EbtVoid) { in yyparse() 6637 …parseContext.precisionQualifierCheck((yyval.interm.type).loc, (yyval.interm.type).basicType, (yyva… in yyparse() 6659 …cisionQualifierCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).basicType, (yyvsp[0].inter… in yyparse() 6887 if ((yyval.interm.type).basicType == EbtVoid) in yyparse() 6888 (yyval.interm.type).basicType = (yyvsp[0].interm.type).basicType; in yyparse() 7563 (yyval.interm.typeParameters)->basicType = (yyvsp[0].interm.type).basicType; in yyparse() 7597 (yyval.interm.type).basicType = EbtVoid; in yyparse() 7606 (yyval.interm.type).basicType = EbtFloat; in yyparse() 7615 (yyval.interm.type).basicType = EbtInt; in yyparse() 7625 (yyval.interm.type).basicType = EbtUint; in yyparse() [all …]
|
| /external/deqp-deps/glslang/glslang/MachineIndependent/ |
| D | glslang.y | 1070 if ($1.basicType == EbtVoid) { 1215 parseContext.precisionQualifierCheck($$.loc, $$.basicType, $$.qualifier, $$.isCoopmat()); 1232 parseContext.precisionQualifierCheck($2.loc, $2.basicType, $2.qualifier, $2.isCoopmat()); 1380 if ($$.basicType == EbtVoid) 1381 $$.basicType = $2.basicType; 1764 $$->basicType = $1.basicType; 1786 $$.basicType = EbtVoid; 1790 $$.basicType = EbtFloat; 1794 $$.basicType = EbtInt; 1799 $$.basicType = EbtUint; [all …]
|
| D | glslang_tab.cpp | 6415 if ((yyvsp[-1].interm.type).basicType == EbtVoid) { in yyparse() 6623 …parseContext.precisionQualifierCheck((yyval.interm.type).loc, (yyval.interm.type).basicType, (yyva… in yyparse() 6645 …cisionQualifierCheck((yyvsp[0].interm.type).loc, (yyvsp[0].interm.type).basicType, (yyvsp[0].inter… in yyparse() 6873 if ((yyval.interm.type).basicType == EbtVoid) in yyparse() 6874 (yyval.interm.type).basicType = (yyvsp[0].interm.type).basicType; in yyparse() 7540 (yyval.interm.typeParameters)->basicType = (yyvsp[0].interm.type).basicType; in yyparse() 7574 (yyval.interm.type).basicType = EbtVoid; in yyparse() 7583 (yyval.interm.type).basicType = EbtFloat; in yyparse() 7592 (yyval.interm.type).basicType = EbtInt; in yyparse() 7602 (yyval.interm.type).basicType = EbtUint; in yyparse() [all …]
|
| /external/angle/third_party/glslang/src/glslang/Include/ |
| D | Types.h | 1426 TTypeParameters() : basicType(EbtVoid), arraySizes(nullptr), spirvType(nullptr) {} in POOL_ALLOCATOR_NEW_DELETE() 1428 TBasicType basicType; variable 1434 bool same = basicType == rhs.basicType && *arraySizes == *rhs.arraySizes; 1435 if (same && basicType == EbtSpirvType) { 1457 TBasicType basicType; 1480 bool isTensorLayoutNV() const { return basicType == EbtTensorLayoutNV; } in isTensorLayoutNV() 1481 bool isTensorViewNV() const { return basicType == EbtTensorViewNV; } in isTensorViewNV() 1485 basicType = EbtVoid; in initType() 1540 bool isImage() const { return basicType == EbtSampler && sampler.isImage(); } in isImage() 1541 bool isSubpass() const { return basicType == EbtSampler && sampler.isSubpass(); } in isSubpass() [all …]
|
| /external/deqp-deps/glslang/glslang/Include/ |
| D | Types.h | 1423 TTypeParameters() : basicType(EbtVoid), arraySizes(nullptr), spirvType(nullptr) {} in POOL_ALLOCATOR_NEW_DELETE() 1425 TBasicType basicType; variable 1431 bool same = basicType == rhs.basicType && *arraySizes == *rhs.arraySizes; 1432 if (same && basicType == EbtSpirvType) { 1454 TBasicType basicType; 1474 bool isTensorLayoutNV() const { return basicType == EbtTensorLayoutNV; } in isTensorLayoutNV() 1475 bool isTensorViewNV() const { return basicType == EbtTensorViewNV; } in isTensorViewNV() 1479 basicType = EbtVoid; in initType() 1533 bool isImage() const { return basicType == EbtSampler && sampler.isImage(); } in isImage() 1534 bool isSubpass() const { return basicType == EbtSampler && sampler.isSubpass(); } in isSubpass() [all …]
|
| /external/deqp/framework/opengl/ |
| D | gluVarTypeUtil.hpp | 437 DataType basicType = curType.getBasicType(); in findNext() local 439 if (isDataTypeMatrix(basicType)) in findNext() 441 else if (isDataTypeVector(basicType)) in findNext() 494 DataType basicType = curType->getBasicType(); in isValidTypePath() local 498 if (!isDataTypeMatrix(basicType)) in isValidTypePath() 501 basicType = getDataTypeFloatVec(getDataTypeMatrixNumRows(basicType)); in isValidTypePath() 507 if (!isDataTypeVector(basicType)) in isValidTypePath() 510 basicType = getDataTypeScalarType(basicType); in isValidTypePath() 541 DataType basicType = curType->getBasicType(); in getVarType() local 546 basicType = getDataTypeFloatVec(getDataTypeMatrixNumRows(basicType)); in getVarType() [all …]
|
| /external/deqp/modules/gles31/functional/ |
| D | es31fShaderSharedVarTests.cpp | 74 SharedBasicVarCase(Context &context, const char *name, DataType basicType, Precision precision, 93 static std::string getBasicCaseDescription(DataType basicType, Precision precision, const tcu::UVec… in getBasicCaseDescription() argument 98 str << getDataTypeName(basicType) << ", work group size = " << workGroupSize; in getBasicCaseDescription() 102 SharedBasicVarCase::SharedBasicVarCase(Context &context, const char *name, DataType basicType, Prec… in SharedBasicVarCase() argument 104 : TestCase(context, name, getBasicCaseDescription(basicType, precision, workGroupSize).c_str()) in SharedBasicVarCase() 105 , m_basicType(basicType) in SharedBasicVarCase() 407 for (int basicType = TYPE_FLOAT; basicType <= TYPE_BOOL_VEC4; basicType++) in init() local 409 if (glu::getDataTypeScalarType(DataType(basicType)) == glu::TYPE_DOUBLE) in init() 412 if (glu::isDataTypeBoolOrBVec(DataType(basicType))) in init() 415 … basicTypeGroup->addChild(new SharedBasicVarCase(m_context, getDataTypeName(DataType(basicType)), in init() [all …]
|
| D | es31fSSBOLayoutCase.cpp | 357 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment() local 359 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment() 363 …isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) : glu::getDataTypeMatrixNumRows(basicType… in computeStd140BaseAlignment() 369 return getDataTypeByteAlignment(basicType); in computeStd140BaseAlignment() 400 glu::DataType basicType = type.getBasicType(); in computeStd430BaseAlignment() local 402 if (glu::isDataTypeMatrix(basicType)) in computeStd430BaseAlignment() 406 …isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) : glu::getDataTypeMatrixNumRows(basicType… in computeStd430BaseAlignment() 412 return getDataTypeByteAlignment(basicType); in computeStd430BaseAlignment() 461 const glu::DataType basicType = type.getBasicType(); in computeReferenceLayout() local 465 entry.type = basicType; in computeReferenceLayout() [all …]
|
| /external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
| D | vktSSBOLayoutCase.cpp | 333 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment() local 335 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment() 339 …isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) : glu::getDataTypeMatrixNumRows(basicType… in computeStd140BaseAlignment() 345 return getDataTypeByteAlignment(basicType); in computeStd140BaseAlignment() 376 glu::DataType basicType = type.getBasicType(); in computeStd430BaseAlignment() local 378 if (glu::isDataTypeMatrix(basicType)) in computeStd430BaseAlignment() 382 …isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) : glu::getDataTypeMatrixNumRows(basicType… in computeStd430BaseAlignment() 387 return getDataTypeByteAlignment(basicType); in computeStd430BaseAlignment() 412 glu::DataType basicType = type.getBasicType(); in computeRelaxedBlockBaseAlignment() local 414 if (glu::isDataTypeVector(basicType)) in computeRelaxedBlockBaseAlignment() [all …]
|
| /external/deqp/external/vulkancts/modules/vulkan/util/ |
| D | vktTypeComparisonUtil.cpp | 149 void getCompareDependencies(std::set<glu::DataType> &compareFuncs, glu::DataType basicType) in getCompareDependencies() argument 151 switch (basicType) in getCompareDependencies() 160 compareFuncs.insert(basicType); in getCompareDependencies() 173 compareFuncs.insert(glu::getDataTypeFloatVec(glu::getDataTypeMatrixNumRows(basicType))); in getCompareDependencies() 174 compareFuncs.insert(basicType); in getCompareDependencies() 178 compareFuncs.insert(basicType); in getCompareDependencies()
|
| /external/deqp/external/vulkancts/modules/vulkan/memory_model/ |
| D | vktMemoryModelSharedLayoutCase.cpp | 219 const glu::DataType basicType = curType.getBasicType(); in generateSharedMemoryWrites() local 220 const string typeName = glu::getDataTypeName(basicType); in generateSharedMemoryWrites() 223 const glu::DataType promoteType = vkt::typecomputil::getPromoteType(basicType); in generateSharedMemoryWrites() 225 int numElements = glu::getDataTypeScalarSize(basicType); in generateSharedMemoryWrites() 226 if (glu::isDataTypeMatrix(basicType)) in generateSharedMemoryWrites() 227 …numElements = glu::getDataTypeMatrixNumColumns(basicType) * glu::getDataTypeMatrixNumRows(basicTyp… in generateSharedMemoryWrites() 235 if (basicType != promoteType || numElements > 1) in generateSharedMemoryWrites() 244 if (basicType != promoteType || numElements > 1) in generateSharedMemoryWrites() 245 src << glu::getDataTypeName(basicType) << "("; in generateSharedMemoryWrites() 251 if (basicType != promoteType) in generateSharedMemoryWrites() [all …]
|
| /external/mesa3d/src/mesa/main/ |
| D | uniform_query.cpp | 729 log_uniform(const void *values, enum glsl_base_type basicType, in log_uniform() argument 749 switch (basicType) { in log_uniform() 1142 enum glsl_base_type basicType, unsigned src_components) in validate_uniform() argument 1173 match = (basicType != GLSL_TYPE_DOUBLE); in validate_uniform() 1176 match = (basicType == GLSL_TYPE_INT); in validate_uniform() 1179 match = (basicType == GLSL_TYPE_INT && _mesa_is_desktop_gl(ctx)); in validate_uniform() 1182 match = basicType == GLSL_TYPE_FLOAT; in validate_uniform() 1185 match = (basicType == uni->type->base_type); in validate_uniform() 1194 glsl_type_name(basicType)); in validate_uniform() 1199 log_uniform(values, basicType, components, 1, count, in validate_uniform() [all …]
|
| D | uniforms.h | 45 enum glsl_base_type basicType, unsigned src_components); 51 GLuint cols, GLuint rows, enum glsl_base_type basicType);
|
| /external/deqp/modules/glshared/ |
| D | glsShaderLibraryCase.cpp | 159 const DataType basicType = val.type.getBasicType(); in genVertexShader() local 160 const DataType floatType = getDataTypeFloatScalars(basicType); in genVertexShader() 165 if (getDataTypeScalarType(basicType) == TYPE_FLOAT) in genVertexShader() 260 const DataType basicType = val.type.getBasicType(); in genFragmentShader() local 261 const DataType floatType = getDataTypeFloatScalars(basicType); in genFragmentShader() 263 const char *const refTypeStr = getDataTypeName(basicType); in genFragmentShader() 265 if (getDataTypeScalarType(basicType) == TYPE_FLOAT) in genFragmentShader() 307 const DataType basicType = val.type.getBasicType(); in specializeVertexShader() local 308 const DataType floatType = getDataTypeFloatScalars(basicType); in specializeVertexShader() 310 const char *const refTypeStr = getDataTypeName(basicType); in specializeVertexShader() [all …]
|
| D | glsShaderExecUtil.cpp | 570 const glu::DataType basicType = outputType.getBasicType(); in getRenderbufferFormatForOutput() local 571 const int numComps = glu::getDataTypeNumComponents(basicType); in getRenderbufferFormatForOutput() 574 switch (glu::getDataTypeScalarType(basicType)) in getRenderbufferFormatForOutput() 633 const glu::DataType basicType = symbol.varType.getBasicType(); in execute() local 634 const int vecSize = glu::getDataTypeScalarSize(basicType); in execute() 636 if (glu::isDataTypeFloatOrVec(basicType)) in execute() 638 else if (glu::isDataTypeIntOrIVec(basicType)) in execute() 640 else if (glu::isDataTypeUintOrUVec(basicType)) in execute() 642 else if (glu::isDataTypeMatrix(basicType)) in execute() 644 int numRows = glu::getDataTypeMatrixNumRows(basicType); in execute() [all …]
|
| D | glsUniformBlockCase.cpp | 127 VarType::VarType(glu::DataType basicType, uint32_t flags) : m_type(TYPE_BASIC), m_flags(flags) in VarType() argument 129 m_data.basicType = basicType; in VarType() 400 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment() local 402 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment() 406 …isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) : glu::getDataTypeMatrixNumRows(basicType… in computeStd140BaseAlignment() 411 return getDataTypeByteAlignment(basicType); in computeStd140BaseAlignment() 456 glu::DataType basicType = type.getBasicType(); in computeStd140Layout() local 460 entry.type = basicType; in computeStd140Layout() 466 if (glu::isDataTypeMatrix(basicType)) in computeStd140Layout() 474 …isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) : glu::getDataTypeMatrixNumRows(basicType… in computeStd140Layout() [all …]
|
| D | glsUniformBlockCase.hpp | 76 VarType(glu::DataType basicType, uint32_t flags); 100 return m_data.basicType; in getBasicType() 133 glu::DataType basicType; member
|
| /external/deqp/external/vulkancts/modules/vulkan/ubo/ |
| D | vktUniformBlockCase.cpp | 72 VarType::VarType(glu::DataType basicType, uint32_t flags) : m_type(TYPE_BASIC), m_flags(flags) in VarType() argument 74 m_data.basicType = basicType; in VarType() 408 glu::DataType basicType = type.getBasicType(); in computeStd140BaseAlignment() local 410 if (glu::isDataTypeMatrix(basicType)) in computeStd140BaseAlignment() 414 …isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) : glu::getDataTypeMatrixNumRows(basicType… in computeStd140BaseAlignment() 420 return getDataTypeByteAlignment(basicType); in computeStd140BaseAlignment() 451 glu::DataType basicType = type.getBasicType(); in computeStd430BaseAlignment() local 453 if (glu::isDataTypeMatrix(basicType)) in computeStd430BaseAlignment() 457 …isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) : glu::getDataTypeMatrixNumRows(basicType… in computeStd430BaseAlignment() 462 return getDataTypeByteAlignment(basicType); in computeStd430BaseAlignment() [all …]
|
| /external/deqp/external/vulkancts/modules/vulkan/ |
| D | vktShaderLibrary.cpp | 418 const DataType basicType = val.type.getBasicType(); in specializeFragmentShader() local 419 const char *const refTypeStr = getDataTypeName(basicType); in specializeFragmentShader() 638 const DataType basicType = values[ndx].type.getBasicType(); in computeStd140Layout() local 639 const bool isMatrix = isDataTypeMatrix(basicType); in computeStd140Layout() 640 const int numVecs = isMatrix ? getDataTypeMatrixNumColumns(basicType) : 1; in computeStd140Layout() 641 …e vecType = isMatrix ? glu::getDataTypeFloatVec(getDataTypeMatrixNumRows(basicType)) : basicType; in computeStd140Layout() 661 const DataType basicType = values[ndx].type.getBasicType(); in computeStd430Layout() local 662 …const int numVecs = isDataTypeMatrix(basicType) ? getDataTypeMatrixNumColumns(basicType) : … in computeStd430Layout() 664 …isDataTypeMatrix(basicType) ? glu::getDataTypeFloatVec(getDataTypeMatrixNumRows(basicType)) : basi… in computeStd430Layout() 678 const DataType basicType = value.type.getBasicType(); in copyToLayout() local [all …]
|
| /external/angle/src/compiler/translator/wgsl/ |
| D | Utils.cpp | 30 const TBasicType basicType = type.getBasicType(); in WriteWgslBareTypeName() local 32 switch (basicType) in WriteWgslBareTypeName() 61 if (IsSampler(basicType)) in WriteWgslBareTypeName() 70 else if (IsImage(basicType)) in WriteWgslBareTypeName()
|
| /external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
| D | vktShaderExecutor.cpp | 687 const glu::DataType basicType = symbol.varType.getBasicType(); in FragmentOutExecutor() local 688 const VkFormat format = getAttributeFormat(basicType); in FragmentOutExecutor() 721 const glu::DataType basicType = outputType.getBasicType(); in getRenderbufferFormatForOutput() local 722 const int numComps = glu::getDataTypeNumComponents(basicType); in getRenderbufferFormatForOutput() 725 switch (glu::getDataTypeScalarType(basicType)) in getRenderbufferFormatForOutput() 882 const glu::DataType basicType = symbol.varType.getBasicType(); in bindAttributes() local 883 const int vecSize = glu::getDataTypeScalarSize(basicType); in bindAttributes() 884 const VkFormat format = getAttributeFormat(basicType); in bindAttributes() 888 if (glu::isDataTypeDoubleOrDVec(basicType)) in bindAttributes() 890 if (glu::isDataTypeFloatOrVec(basicType)) in bindAttributes() [all …]
|
| /external/deqp/external/openglcts/modules/common/ |
| D | glcUniformBlockCase.hpp | 71 VarType(glu::DataType basicType, uint32_t flags); 95 return m_data.basicType; in getBasicType() 128 glu::DataType basicType; member
|