Home
last modified time | relevance | path

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

/external/skqp/src/gpu/mtl/
DGrMtlPipelineStateBuilder.mm166 size_t vertexAttributeOffset = 0;
170 mtlAttribute.offset = vertexAttributeOffset;
173 vertexAttributeOffset += attribute.sizeAlign4();
176 SkASSERT(vertexAttributeOffset == primProc.vertexStride());
183 vertexBufferLayout.stride = vertexAttributeOffset;
/external/skqp/src/gpu/vk/
DGrVkPipeline.cpp96 size_t vertexAttributeOffset = 0; in setup_vertex_input_state() local
102 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()
/external/skia/src/gpu/vk/
DGrVkPipeline.cpp103 size_t vertexAttributeOffset = 0; in setup_vertex_input_state() local
109 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()
/external/skia/src/gpu/mtl/
DGrMtlPipelineStateBuilder.mm202 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);
/external/skia/src/gpu/d3d/
DGrD3DPipelineStateBuilder.cpp253 unsigned int vertexAttributeOffset = 0; in setup_vertex_input_layout() local
260 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()