Searched refs:instanceAttributeOffset (Results 1 – 5 of 5) sorted by relevance
187 size_t instanceAttributeOffset = 0;191 mtlAttribute.offset = instanceAttributeOffset;194 instanceAttributeOffset += attribute.sizeAlign4();197 SkASSERT(instanceAttributeOffset == primProc.instanceStride());204 instanceBufferLayout.stride = instanceAttributeOffset;
108 size_t instanceAttributeOffset = 0; in setup_vertex_input_state() local114 vkAttrib.offset = instanceAttributeOffset; in setup_vertex_input_state()115 instanceAttributeOffset += attrib.sizeAlign4(); in setup_vertex_input_state()117 SkASSERT(instanceAttributeOffset == primProc.instanceStride()); in setup_vertex_input_state()129 (uint32_t) instanceAttributeOffset, in setup_vertex_input_state()
114 size_t instanceAttributeOffset = 0; in setup_vertex_input_state() local120 vkAttrib.offset = instanceAttributeOffset; in setup_vertex_input_state()121 instanceAttributeOffset += attrib.sizeAlign4(); in setup_vertex_input_state()123 SkASSERT(instanceAttributeOffset == instanceAttribs.stride()); in setup_vertex_input_state()135 (uint32_t) instanceAttributeOffset, in setup_vertex_input_state()
236 size_t instanceAttributeOffset = 0;242 mtlAttribute.offset = instanceAttributeOffset;246 writer->writeUInt(instanceAttributeOffset);250 instanceAttributeOffset += attribute.sizeAlign4();253 SkASSERT(instanceAttributeOffset == geomProc.instanceStride());260 instanceBufferLayout.stride = instanceAttributeOffset;262 writer->writeUInt(instanceAttributeOffset);
267 unsigned int instanceAttributeOffset = 0; in setup_vertex_input_layout() local273 instanceSlot, instanceAttributeOffset, in setup_vertex_input_layout()275 instanceAttributeOffset += attrib.sizeAlign4(); in setup_vertex_input_layout()278 SkASSERT(instanceAttributeOffset == geomProc.instanceStride()); in setup_vertex_input_layout()