Home
last modified time | relevance | path

Searched refs:instanceAttributeOffset (Results 1 – 5 of 5) sorted by relevance

/external/skqp/src/gpu/mtl/
DGrMtlPipelineStateBuilder.mm187 size_t instanceAttributeOffset = 0;
191 mtlAttribute.offset = instanceAttributeOffset;
194 instanceAttributeOffset += attribute.sizeAlign4();
197 SkASSERT(instanceAttributeOffset == primProc.instanceStride());
204 instanceBufferLayout.stride = instanceAttributeOffset;
/external/skqp/src/gpu/vk/
DGrVkPipeline.cpp108 size_t instanceAttributeOffset = 0; in setup_vertex_input_state() local
114 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()
/external/skia/src/gpu/vk/
DGrVkPipeline.cpp114 size_t instanceAttributeOffset = 0; in setup_vertex_input_state() local
120 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()
/external/skia/src/gpu/mtl/
DGrMtlPipelineStateBuilder.mm236 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);
/external/skia/src/gpu/d3d/
DGrD3DPipelineStateBuilder.cpp267 unsigned int instanceAttributeOffset = 0; in setup_vertex_input_layout() local
273 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()