/external/deqp/external/vulkancts/modules/vulkan/ubo/ |
D | vktUniformBlockTests.cpp | 45 … testCtx, const std::string& name, const std::string& description, const VarType& type, deUint32 l… in BlockBasicTypeCase() 62 …eGroup* group, tcu::TestContext& testCtx, const std::string& name, const VarType& type, deUint32 l… in createBlockBasicTypeCases() 76 …typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); // First member is… in BlockSingleStructCase() 77 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); in BlockSingleStructCase() 78 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH)); in BlockSingleStructCase() 81 block.addUniform(Uniform("s", VarType(&typeS), 0)); in BlockSingleStructCase() 101 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); in BlockSingleStructArrayCase() 102 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); in BlockSingleStructArrayCase() 103 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH)); in BlockSingleStructArrayCase() 106 block.addUniform(Uniform("u", VarType(glu::TYPE_UINT, PRECISION_LOW))); in BlockSingleStructArrayCase() [all …]
|
D | vktUniformBlockCase.hpp | 66 class VarType class 69 VarType (void); 70 VarType (const VarType& other); 71 VarType (glu::DataType basicType, deUint32 flags); 72 VarType (const VarType& elementType, int arraySize); 73 explicit VarType (const StructType* structPtr); 74 ~VarType (void); 83 const VarType& getElementType (void) const { return *m_data.array.elementType; } in getElementType() 88 VarType& operator= (const VarType& other); 107 VarType* elementType; [all …]
|
D | vktRandomUniformBlockCase.cpp | 139 VarType type = generateType(rnd, 0, true); in generateUniform() 149 VarType RandomUniformBlockCase::generateType (de::Random& rnd, int typeDepth, bool arrayOk) in generateType() 159 std::vector<VarType> memberTypes; in generateType() 180 return VarType(&structType); in generateType() 186 VarType elementType = generateType(rnd, typeDepth, arraysOfArraysOk); in generateType() 187 return VarType(elementType, arrayLength); in generateType() 236 return VarType(type, flags); in generateType()
|
D | vktUniformBlockCase.cpp | 58 VarType::VarType (void) in VarType() function in vkt::ubo::VarType 64 VarType::VarType (const VarType& other) in VarType() function in vkt::ubo::VarType 71 VarType::VarType (glu::DataType basicType, deUint32 flags) in VarType() function in vkt::ubo::VarType 78 VarType::VarType (const VarType& elementType, int arraySize) in VarType() function in vkt::ubo::VarType 83 m_data.array.elementType = new VarType(elementType); in VarType() 86 VarType::VarType (const StructType* structPtr) in VarType() function in vkt::ubo::VarType 93 VarType::~VarType (void) in ~VarType() 99 VarType& VarType::operator= (const VarType& other) in operator =() 113 m_data.array.elementType = new VarType(*other.m_data.array.elementType); in operator =() 124 void StructType::addMember (const std::string& name, const VarType& type, deUint32 flags) in addMember() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/ssbo/ |
D | vktSSBOLayoutTests.cpp | 44 using glu::VarType; 73 glu::VarType generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool unusedArrayOk); 150 const glu::VarType& lastType = lastVar.getType(); in generateBlock() 151 …const bool isUnsizedArr = lastType.isArrayType() && (lastType.getArraySize() == glu::VarType::UN… in generateBlock() 189 …const glu::VarType type = generateType(rnd, 0, true, isLastMember && (m_features & FEATURE_UNSI… in generateBufferVar() 200 glu::VarType RandomSSBOLayoutCase::generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool… in generateType() 211 const glu::VarType elementType = generateType(rnd, typeDepth, childArrayOk, false); in generateType() 212 return glu::VarType(elementType, glu::VarType::UNSIZED_ARRAY); in generateType() 216 vector<glu::VarType> memberTypes; in generateType() 232 return glu::VarType(&structType); in generateType() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fSSBOLayoutTests.cpp | 42 using glu::VarType; 78 glu::VarType generateType (de::Random& rnd, int typeDepth, bool arrayOk, bool unusedArrayOk); 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() 229 vector<glu::VarType> memberTypes; in generateType() 245 return glu::VarType(&structType); in generateType() [all …]
|
D | es31fUniformBlockTests.cpp | 62 …BlockBasicTypeCase (Context& context, const char* name, const char* description, const VarType& ty… in BlockBasicTypeCase() 77 …es (tcu::TestCaseGroup* group, Context& context, const char* name, const VarType& type, deUint32 l… in createBlockBasicTypeCases() 99 typeS.addMember("a", VarType(glu::TYPE_UINT_VEC3, PRECISION_HIGH), UNUSED_BOTH); in init() 100 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT2, PRECISION_MEDIUM), 4)); in init() 101 typeS.addMember("c", VarType(glu::TYPE_UINT, PRECISION_LOW)); in init() 104 block.addUniform(Uniform("u", VarType(glu::TYPE_INT, PRECISION_MEDIUM))); in init() 105 block.addUniform(Uniform("s", VarType(VarType(VarType(&typeS), 3), 2))); in init() 106 block.addUniform(Uniform("v", VarType(glu::TYPE_FLOAT_VEC2, PRECISION_MEDIUM))); in init() 210 …const VarType childType (VarType(type, glu::isDataTypeBoolOrBVec(type) ? 0 : PRECISION_HIGH), chi… in init() 211 const VarType parentType (childType, parentSize); in init() [all …]
|
D | es31fShaderIntegerFunctionTests.cpp | 71 const glu::VarType& type; 74 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {} in VarValue() 361 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); in UaddCarryCase() 362 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); in UaddCarryCase() 363 m_spec.outputs.push_back(Symbol("sum", glu::VarType(baseType, precision))); in UaddCarryCase() 364 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UaddCarryCase() 457 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); in UsubBorrowCase() 458 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); in UsubBorrowCase() 459 m_spec.outputs.push_back(Symbol("diff", glu::VarType(baseType, precision))); in UsubBorrowCase() 460 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UsubBorrowCase() [all …]
|
D | es31fUniformLocationTests.cpp | 66 using glu::VarType; 78 VarType type; 84 …UniformInfo (VarType type_, ShaderStage declareLocation_, ShaderStage layoutLocation_, ShaderStage… in UniformInfo() 127 string getUniformName (int ndx, const glu::VarType& type, const glu::TypeComponentVector& path) in getUniformName() 135 string getFirstComponentName (const glu::VarType& type) in getFirstComponentName() 327 const glu::VarType subType = glu::getVarType(uniformInfo.type, subTypeIter.getPath()); in genShaderSources() 562 const glu::VarType type = glu::getVarType(uniformInfo.type, subTypeIter.getPath()); in render() 692 glu::VarType createVarType (glu::DataType type) in createVarType() 694 …return glu::VarType(type, glu::isDataTypeBoolOrBVec(type) ? glu::PRECISION_LAST : glu::PRECISION_H… in createVarType() 791 UniformInfo uniform (VarType(createVarType(type), 8), in init() [all …]
|
D | es31fShaderCommonFunctionTests.cpp | 358 const glu::VarType& type; 361 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {} in VarValue() 503 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in AbsCase() 504 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in AbsCase() 585 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in SignCase() 586 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in SignCase() 691 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in RoundEvenCase() 692 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in RoundEvenCase() 802 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in ModfCase() 803 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in ModfCase() [all …]
|
D | es31fProgramInterfaceDefinitionUtil.hpp | 46 …VariablePathComponent (const glu::VarType* type) :m_type(TYPE_TYPE) { m_data.type = type; } in VariablePathComponent() 57 …const glu::VarType* getVariableType (void) const { DE_ASSERT(isVariableType()); return m_data… in getVariableType() 73 const glu::VarType* type; 179 …std::vector<std::string>& resources, const std::string& name, const glu::VarType& type, deUint32 r…
|
/external/deqp/framework/opengl/ |
D | gluVarTypeUtil.hpp | 100 bool isValidTypePath (const VarType& type, Iterator begin, Iterator end); 103 VarType getVarType (const VarType& type, Iterator begin, Iterator end); 105 inline bool isValidTypePath (const VarType& type, const TypeComponentVector& path) { return isVal… in isValidTypePath() 106 inline VarType getVarType (const VarType& type, const TypeComponentVector& path) { return getVarT… in getVarType() 109 void parseTypePath (const char* nameWithPath, const VarType& type, TypeComponentVector& path); 115 …TypeAccessFormat (const VarType& type_, const TypeComponentVector& path_) : type(type_), path(path… in TypeAccessFormat() 117 const VarType& type; 128 SubTypeAccess (const VarType& type); 143 VarType getType (void) const { return getVarType(m_type, m_path); } in getType() 152 VarType m_type; [all …]
|
D | gluVarType.hpp | 47 class VarType class 50 VarType (void); 51 VarType (const VarType& other); 53 VarType (DataType basicType, Precision precision); //!< Basic type constructor. 54 VarType (const VarType& elementType, int arraySize); //!< Array type constructor. 55 explicit VarType (const StructType* structPtr); //!< Struct type constructor. 56 ~VarType (void); 65 …const VarType& getElementType (void) const { DE_ASSERT(isArrayType()); return *m_data.array.eleme… in getElementType() 72 VarType& operator= (const VarType& other); 74 bool operator== (const VarType& other) const; [all …]
|
D | gluVarType.cpp | 31 VarType::VarType (void) in VarType() function in glu::VarType 36 VarType::VarType (const VarType& other) in VarType() function in glu::VarType 42 VarType::VarType (DataType basicType, Precision precision) in VarType() function in glu::VarType 49 VarType::VarType (const VarType& elementType, int arraySize) in VarType() function in glu::VarType 54 m_data.array.elementType = new VarType(elementType); in VarType() 57 VarType::VarType (const StructType* structPtr) in VarType() function in glu::VarType 63 VarType::~VarType (void) in ~VarType() 69 VarType& VarType::operator= (const VarType& other) in operator =() 82 m_data.array.elementType = new VarType(*other.m_data.array.elementType); in operator =() 91 int VarType::getScalarSize (void) const in getScalarSize() [all …]
|
D | gluVarTypeUtil.cpp | 85 SubTypeAccess::SubTypeAccess (const VarType& type) in SubTypeAccess() 97 void parseTypePath (const char* nameWithPath, const VarType& type, TypeComponentVector& path) in parseTypePath() 107 VarType curType = getVarType(type, path); in parseTypePath() 164 const VarType* curType = &format.type; in operator <<()
|
/external/deqp/modules/gles3/functional/ |
D | es3fUniformBlockTests.cpp | 60 …BlockBasicTypeCase (Context& context, const char* name, const char* description, const VarType& ty… in BlockBasicTypeCase() 75 …es (tcu::TestCaseGroup* group, Context& context, const char* name, const VarType& type, deUint32 l… in createBlockBasicTypeCases() 97 …typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); // First member is… in init() 98 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); in init() 99 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH)); in init() 102 block.addUniform(Uniform("s", VarType(&typeS), 0)); in init() 130 typeS.addMember("a", VarType(glu::TYPE_INT_VEC3, PRECISION_HIGH), UNUSED_BOTH); in init() 131 typeS.addMember("b", VarType(VarType(glu::TYPE_FLOAT_MAT3, PRECISION_MEDIUM), 4)); in init() 132 typeS.addMember("c", VarType(glu::TYPE_FLOAT_VEC4, PRECISION_HIGH)); in init() 135 block.addUniform(Uniform("u", VarType(glu::TYPE_UINT, PRECISION_LOW))); in init() [all …]
|
D | es3fTransformFeedbackTests.cpp | 98 Varying (const char* name_, const glu::VarType& type_, Interpolation interp_) in Varying() 106 glu::VarType type; //!< Variable type. 120 Attribute (const std::string& name_, const glu::VarType& type_, int offset_) in Attribute() 128 glu::VarType type; 149 glu::VarType type; 185 void addVarying (const char* name, const glu::VarType& type, Interpolation interp); 221 void ProgramSpec::addVarying (const char* name, const glu::VarType& type, Interpolation interp) in addVarying() 345 const glu::VarType& type = var->type; in genShaderSources() 349 glu::VarType attribType = glu::getVarType(type, vecIter.getPath()); in genShaderSources() 388 const glu::VarType& type = var->type; in genShaderSources() [all …]
|
D | es3fShaderCommonFunctionTests.cpp | 284 const glu::VarType& type; 287 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {} in VarValue() 425 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in AbsCase() 426 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in AbsCase() 507 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in SignCase() 508 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in SignCase() 613 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in RoundEvenCase() 614 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in RoundEvenCase() 724 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in ModfCase() 725 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in ModfCase() [all …]
|
/external/deqp/modules/glshared/ |
D | glsUniformBlockCase.hpp | 71 class VarType class 74 VarType (void); 75 VarType (const VarType& other); 76 VarType (glu::DataType basicType, deUint32 flags); 77 VarType (const VarType& elementType, int arraySize); 78 explicit VarType (const StructType* structPtr); 79 ~VarType (void); 88 const VarType& getElementType (void) const { return *m_data.array.elementType; } in getElementType() 93 VarType& operator= (const VarType& other); 112 VarType* elementType; [all …]
|
D | glsRandomUniformBlockCase.cpp | 146 VarType type = generateType(rnd, 0, true); in generateUniform() 156 VarType RandomUniformBlockCase::generateType (de::Random& rnd, int typeDepth, bool arrayOk) in generateType() 166 vector<VarType> memberTypes; in generateType() 187 return VarType(&structType); in generateType() 193 VarType elementType = generateType(rnd, typeDepth, arraysOfArraysOk); in generateType() 194 return VarType(elementType, arrayLength); in generateType() 243 return VarType(type, flags); in generateType()
|
D | glsUniformBlockCase.cpp | 115 VarType::VarType (void) in VarType() function in deqp::gls::ub::VarType 121 VarType::VarType (const VarType& other) in VarType() function in deqp::gls::ub::VarType 128 VarType::VarType (glu::DataType basicType, deUint32 flags) in VarType() function in deqp::gls::ub::VarType 135 VarType::VarType (const VarType& elementType, int arraySize) in VarType() function in deqp::gls::ub::VarType 140 m_data.array.elementType = new VarType(elementType); in VarType() 143 VarType::VarType (const StructType* structPtr) in VarType() function in deqp::gls::ub::VarType 150 VarType::~VarType (void) in ~VarType() 156 VarType& VarType::operator= (const VarType& other) in operator =() 170 m_data.array.elementType = new VarType(*other.m_data.array.elementType); in operator =() 181 void StructType::addMember (const char* name, const VarType& type, deUint32 flags) in addMember() [all …]
|
/external/llvm/tools/llvm-pdbdump/ |
D | VariableDumper.cpp | 40 auto VarType = Var.getType(); in start() local 50 dumpSymbolTypeAndName(*VarType, Var.getName()); in start() 53 if (isa<PDBSymbolTypeEnum>(*VarType)) in start() 58 dumpSymbolTypeAndName(*VarType, Var.getName()); in start() 67 dumpSymbolTypeAndName(*VarType, Var.getName()); in start() 74 dumpSymbolTypeAndName(*VarType, Var.getName()); in start()
|
/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() 560 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); in UaddCarryCase() 561 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); in UaddCarryCase() 562 m_spec.outputs.push_back(Symbol("sum", glu::VarType(baseType, precision))); in UaddCarryCase() 563 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UaddCarryCase() 669 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); in UsubBorrowCase() 670 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); in UsubBorrowCase() 671 m_spec.outputs.push_back(Symbol("diff", glu::VarType(baseType, precision))); in UsubBorrowCase() 672 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); in UsubBorrowCase() [all …]
|
D | vktShaderCommonFunctionTests.cpp | 301 const glu::VarType& type; 304 VarValue (const glu::VarType& type_, const void* value_) : type(type_), value(value_) {} in VarValue() 671 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in AbsCase() 672 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in AbsCase() 781 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in SignCase() 782 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in SignCase() 918 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in RoundEvenCase() 919 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in RoundEvenCase() 998 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); in ModfCase() 999 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); in ModfCase() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fUniformApiTests.cpp | 154 static bool typeContainsMatchingBasicType (const glu::VarType& type, const dataTypePredicate predic… in typeContainsMatchingBasicType() 171 static void getDistinctSamplerTypes (vector<glu::DataType>& dst, const glu::VarType& type) in getDistinctSamplerTypes() 190 static int getNumSamplersInType (const glu::VarType& type) in getNumSamplersInType() 207 static glu::VarType generateRandomType (const int maxDepth, int& curStructIdx, vector<const StructT… in generateRandomType() 221 …return isArray ? glu::VarType(glu::VarType(structType), rnd.getInt(1, 5)) : glu::VarType(structTyp… in generateRandomType() 227 …return isArray ? glu::VarType(glu::VarType(basicType, precision), rnd.getInt(1, 5)) : glu::VarType… in generateRandomType() 263 glu::VarType type; 265 Uniform (const char* const name_, const glu::VarType& type_) : name(name_), type(type_) {} in Uniform() 333 …res->m_uniforms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(type, prec)… in basic() 341 …ms.push_back(Uniform((string("u_var") + nameSuffix).c_str(), glu::VarType(glu::VarType(type, prec)… in basicArray() [all …]
|