Searched refs:vertexAttributeOffset (Results 1 – 5 of 5) sorted by relevance
166 size_t vertexAttributeOffset = 0;170 mtlAttribute.offset = vertexAttributeOffset;173 vertexAttributeOffset += attribute.sizeAlign4();176 SkASSERT(vertexAttributeOffset == primProc.vertexStride());183 vertexBufferLayout.stride = vertexAttributeOffset;
96 size_t vertexAttributeOffset = 0; in setup_vertex_input_state() local102 vkAttrib.offset = vertexAttributeOffset; in setup_vertex_input_state()103 vertexAttributeOffset += attrib.sizeAlign4(); in setup_vertex_input_state()105 SkASSERT(vertexAttributeOffset == primProc.vertexStride()); in setup_vertex_input_state()122 (uint32_t) vertexAttributeOffset, in setup_vertex_input_state()
103 size_t vertexAttributeOffset = 0; in setup_vertex_input_state() local109 vkAttrib.offset = vertexAttributeOffset; in setup_vertex_input_state()110 vertexAttributeOffset += attrib.sizeAlign4(); in setup_vertex_input_state()112 SkASSERT(vertexAttributeOffset == vertexAttribs.stride()); in setup_vertex_input_state()128 (uint32_t) vertexAttributeOffset, in setup_vertex_input_state()
202 size_t vertexAttributeOffset = 0;208 mtlAttribute.offset = vertexAttributeOffset;212 writer->writeUInt(vertexAttributeOffset);216 vertexAttributeOffset += attribute.sizeAlign4();219 SkASSERT(vertexAttributeOffset == geomProc.vertexStride());226 vertexBufferLayout.stride = vertexAttributeOffset;228 writer->writeUInt(vertexAttributeOffset);
253 unsigned int vertexAttributeOffset = 0; in setup_vertex_input_layout() local260 vertexSlot, vertexAttributeOffset, in setup_vertex_input_layout()262 vertexAttributeOffset += attrib.sizeAlign4(); in setup_vertex_input_layout()265 SkASSERT(vertexAttributeOffset == geomProc.vertexStride()); in setup_vertex_input_layout()