Home
last modified time | relevance | path

Searched refs:attributeIndex (Results 1 – 16 of 16) sorted by relevance

/external/swiftshader/src/OpenGL/libGLESv2/
DVertexArray.cpp49 const VertexAttribute& VertexArray::getVertexAttribute(size_t attributeIndex) const in getVertexAttribute()
51 ASSERT(attributeIndex < MAX_VERTEX_ATTRIBS); in getVertexAttribute()
52 return mVertexAttributes[attributeIndex]; in getVertexAttribute()
61 void VertexArray::enableAttribute(unsigned int attributeIndex, bool enabledState) in enableAttribute() argument
63 ASSERT(attributeIndex < MAX_VERTEX_ATTRIBS); in enableAttribute()
64 mVertexAttributes[attributeIndex].mArrayEnabled = enabledState; in enableAttribute()
67 void VertexArray::setAttributeState(unsigned int attributeIndex, Buffer *boundBuffer, GLint size, G… in setAttributeState() argument
70 ASSERT(attributeIndex < MAX_VERTEX_ATTRIBS); in setAttributeState()
71 mVertexAttributes[attributeIndex].mBoundBuffer = boundBuffer; in setAttributeState()
72 mVertexAttributes[attributeIndex].mSize = size; in setAttributeState()
[all …]
DVertexArray.h34 const VertexAttribute& getVertexAttribute(size_t attributeIndex) const;
39 void enableAttribute(unsigned int attributeIndex, bool enabledState);
40 void setAttributeState(unsigned int attributeIndex, Buffer *boundBuffer, GLint size, GLenum type,
DProgram.h137 int getAttributeStream(int attributeIndex);
DProgram.cpp283 int Program::getAttributeStream(int attributeIndex) in getAttributeStream() argument
285 ASSERT(attributeIndex >= 0 && attributeIndex < MAX_VERTEX_ATTRIBS); in getAttributeStream()
287 return attributeStream[attributeIndex]; in getAttributeStream()
DContext.cpp1503 for(int attributeIndex = 0; attributeIndex < MAX_VERTEX_ATTRIBS; attributeIndex++) in hasZeroDivisor() local
1505 bool active = (programObject->getAttributeStream(attributeIndex) != -1); in hasZeroDivisor()
1506 if(active && getCurrentVertexArray()->getVertexAttribute(attributeIndex).mDivisor == 0) in hasZeroDivisor()
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/
DAttributeContainer.java46 Integer i = attributeIndex(name); in getAttribute()
60 Integer i = attributeIndex(namespace,name); in getAttribute()
74 Integer i = attributeIndex(name); in getAttributeAsString()
88 Integer i = attributeIndex(namespace,name); in getAttributeAsString()
99 if (attributeIndex(name) != null) { in hasAttribute()
110 if (attributeIndex(namespace,name) != null) { in hasAttribute()
123 Integer i = attributeIndex(name); in getAttributeSafely()
138 Integer i = attributeIndex(namespace,name); in getAttributeSafely()
155 Integer i = attributeIndex(name); in getAttributeSafelyAsString()
172 Integer i = attributeIndex(namespace,name); in getAttributeSafelyAsString()
[all …]
/external/skqp/src/gpu/mtl/
DGrMtlPipelineStateBuilder.mm163 int attributeIndex = 0;
168 MTLVertexAttributeDescriptor* mtlAttribute = vertexDescriptor.attributes[attributeIndex];
174 attributeIndex++;
189 MTLVertexAttributeDescriptor* mtlAttribute = vertexDescriptor.attributes[attributeIndex];
195 attributeIndex++;
/external/skia/src/gpu/mtl/
DGrMtlPipelineStateBuilder.mm196 int attributeIndex = 0;
204 MTLVertexAttributeDescriptor* mtlAttribute = vertexDescriptor.attributes[attributeIndex];
217 attributeIndex++;
238 MTLVertexAttributeDescriptor* mtlAttribute = vertexDescriptor.attributes[attributeIndex];
251 attributeIndex++;
409 int attributeIndex = 0;
414 … MTLVertexAttributeDescriptor* mtlAttribute = vertexDescriptor.attributes[attributeIndex];
418 ++attributeIndex;
431 … MTLVertexAttributeDescriptor* mtlAttribute = vertexDescriptor.attributes[attributeIndex];
435 ++attributeIndex;
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessVertexAccessTests.cpp811 const deUint32 attributeIndex = (valueNdx / numChannels) % 3; in verifyResult() local
818 if (attributeIndex == 2) in verifyResult()
841 if ((attributeIndex == 0) && (numInBufferValues >= numChannels)) in verifyResult()
867 logMsg << "\tfrom attr" << attributeIndex; in verifyResult()
872 if (attributeIndex == 2) in verifyResult()
/external/angle/src/libANGLE/renderer/d3d/
DDynamicHLSL.cpp179 for (size_t attributeIndex = 0; attributeIndex < shaderAttributes.size(); ++attributeIndex) in generateVertexShaderForInputLayout() local
181 const sh::ShaderVariable &shaderAttribute = shaderAttributes[attributeIndex]; in generateVertexShaderForInputLayout()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmFloatControlsTests.cpp3737 deUint32 attributeIndex = 0; in fillShaderSpec() local
3759 attribute = to_string(attributeIndex); in fillShaderSpec()
3762 "OpDecorate %ssbo_f64_out Binding " + to_string(attributeIndex+1) + "\n"; in fillShaderSpec()
3770 attributeIndex++; in fillShaderSpec()
3783 attribute = to_string(attributeIndex); in fillShaderSpec()
3786 "OpDecorate %ssbo_f32_out Binding " + to_string(attributeIndex+1) + "\n"; in fillShaderSpec()
3794 attributeIndex++; in fillShaderSpec()
3808 attribute = to_string(attributeIndex); in fillShaderSpec()
3811 "OpDecorate %ssbo_u32_out Binding " + to_string(attributeIndex+1) + "\n"; in fillShaderSpec()
3828 attribute = to_string(attributeIndex); in fillShaderSpec()
[all …]
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DEmitMetal.cpp1096 size_t attributeIndex = 0; in BuildExternalAttributeIndexMap() local
1111 ++attributeIndex; // TODO: Might need to increment more if shader var type is a matrix. in BuildExternalAttributeIndexMap()
1122 externalNameToAttributeIndex[externalName] = attributeIndex; in BuildExternalAttributeIndexMap()
1125 ++attributeIndex; in BuildExternalAttributeIndexMap()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineVertexInputTests.cpp215 …slAttributeConditions (const AttributeInfo& attributeInfo, const std::string attributeIndex) const;
750 …lslAttributeConditions (const AttributeInfo& attributeInfo, const std::string attributeIndex) const in getGlslAttributeConditions()
758 const std::string indexStr = m_queryMaxAttributes ? "[" + attributeIndex + "]" : attributeIndex; in getGlslAttributeConditions()
/external/ksoap2/
D0001-ksoap2-update.patch170 + Integer i = attributeIndex(namespace,name);
191 + Integer i = attributeIndex(namespace,name);
209 + if (attributeIndex(namespace,name) != null) {
229 + Integer i = attributeIndex(namespace,name);
253 + Integer i = attributeIndex(namespace,name);
261 private Integer attributeIndex(String name) {
268 + private Integer attributeIndex(String namespace,String name) {
/external/angle/src/libANGLE/
DvalidationES.cpp863 for (size_t attributeIndex = 0; attributeIndex < MAX_VERTEX_ATTRIBS; attributeIndex++) in ValidateDrawInstancedANGLE() local
865 const VertexAttribute &attrib = attribs[attributeIndex]; in ValidateDrawInstancedANGLE()
867 if (executable->isAttribLocationActive(attributeIndex) && binding.getDivisor() == 0) in ValidateDrawInstancedANGLE()
DContext.cpp9179 for (size_t attributeIndex : mCachedActiveBufferedAttribsMask) in updateVertexElementLimitsImpl() local
9181 const VertexAttribute &attrib = vertexAttribs[attributeIndex]; in updateVertexElementLimitsImpl()
9185 context->getState().getProgramExecutable()->isAttribLocationActive(attributeIndex)); in updateVertexElementLimitsImpl()