Searched refs:packedAttrib (Results 1 – 2 of 2) sorted by relevance
79 PackedAttribute packedAttrib; in addAttributeData() local80 packedAttrib.attribType = static_cast<uint8_t>(attribType); in addAttributeData()81 packedAttrib.semanticIndex = static_cast<uint8_t>(semanticIndex); in addAttributeData()82 packedAttrib.vertexFormatType = static_cast<uint8_t>(vertexFormatID); in addAttributeData()83 packedAttrib.unusedPadding = 0u; in addAttributeData()84 packedAttrib.divisor = static_cast<uint32_t>(divisor); in addAttributeData()86 ASSERT(static_cast<gl::AttributeType>(packedAttrib.attribType) == attribType); in addAttributeData()87 ASSERT(static_cast<UINT>(packedAttrib.semanticIndex) == semanticIndex); in addAttributeData()88 ASSERT(static_cast<angle::FormatID>(packedAttrib.vertexFormatType) == vertexFormatID); in addAttributeData()89 ASSERT(static_cast<unsigned int>(packedAttrib.divisor) == divisor); in addAttributeData()[all …]
1581 for (PackedAttribDesc &packedAttrib : mVertexInputAttribs.attribs) in initDefaults()1583 SetBitField(packedAttrib.stride, 0); in initDefaults()1584 SetBitField(packedAttrib.divisor, 0); in initDefaults()1585 SetBitField(packedAttrib.format, defaultFormat); in initDefaults()1586 SetBitField(packedAttrib.compressed, 0); in initDefaults()1587 SetBitField(packedAttrib.offset, 0); in initDefaults()1781 const PackedAttribDesc &packedAttrib = mVertexInputAttribs.attribs[attribIndex]; in initializePipeline() local1784 bindingDesc.stride = static_cast<uint32_t>(packedAttrib.stride); in initializePipeline()1785 if (packedAttrib.divisor != 0) in initializePipeline()1789 divisorDesc[divisorState.vertexBindingDivisorCount].divisor = packedAttrib.divisor; in initializePipeline()[all …]