/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()
|
/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/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/framework/opengl/ |
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 | 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.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/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()
|
/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/jmonkeyengine/engine/src/core/com/jme3/renderer/ |
D | RenderManager.java | 47 import com.jme3.shader.VarType; 349 u.setValue(VarType.Matrix4, worldMatrix); in updateUniformBindings() 352 u.setValue(VarType.Matrix4, viewMatrix); in updateUniformBindings() 355 u.setValue(VarType.Matrix4, projMatrix); in updateUniformBindings() 358 u.setValue(VarType.Matrix4, viewProjMatrix); in updateUniformBindings() 363 u.setValue(VarType.Matrix4, tempMat4); in updateUniformBindings() 371 u.setValue(VarType.Matrix3, tempMat3); in updateUniformBindings() 376 u.setValue(VarType.Matrix4, tempMat4); in updateUniformBindings() 381 u.setValue(VarType.Matrix4, tempMat4); in updateUniformBindings() 386 u.setValue(VarType.Matrix3, tempMat3); in updateUniformBindings() [all …]
|
/external/jmonkeyengine/engine/src/core/com/jme3/material/ |
D | Material.java | 49 import com.jme3.shader.VarType; 371 private String checkSetParam(VarType type, String name) { in checkSetParam() 402 public void setParam(String name, VarType type, Object value) { in setParam() 481 public void setTextureParam(String name, VarType type, Texture value) { in setTextureParam() 516 VarType paramType = null; in setTexture() 519 paramType = VarType.Texture2D; in setTexture() 522 paramType = VarType.TextureArray; in setTexture() 525 paramType = VarType.Texture3D; in setTexture() 528 paramType = VarType.TextureCubeMap; in setTexture() 544 setParam(name, VarType.Matrix4, value); in setMatrix4() [all …]
|
D | MatParam.java | 39 import com.jme3.shader.VarType; 52 protected VarType type; 61 public MatParam(VarType type, String name, Object value, FixedFuncBinding ffBinding) { in MatParam() 89 public VarType getVarType() { in getVarType() 311 type = ic.readEnum("varType", VarType.class, null); in read()
|
/external/jmonkeyengine/engine/src/core/com/jme3/shader/ |
D | VarType.java | 35 public enum VarType { enum 65 VarType(){ in VarType() method in VarType 68 VarType(boolean multiData, boolean textureType){ in VarType() method in VarType
|
/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 …]
|