Home
last modified time | relevance | path

Searched refs:vertexDescriptor (Results 1 – 10 of 10) sorted by relevance

/external/skqp/src/gpu/mtl/
DGrMtlCopyManager.mm105 MTLVertexDescriptor* vertexDescriptor = [[MTLVertexDescriptor alloc] init];
106 vertexDescriptor.attributes[0].format = MTLVertexFormatFloat2;
107 vertexDescriptor.attributes[0].offset = 0;
108 vertexDescriptor.attributes[0].bufferIndex = kAttribute_BufferIndex;
110 vertexDescriptor.layouts[kAttribute_BufferIndex].stepFunction = MTLVertexStepFunctionPerVertex;
111 vertexDescriptor.layouts[kAttribute_BufferIndex].stepRate = 1;
112 vertexDescriptor.layouts[kAttribute_BufferIndex].stride = sizeof(simd::float2);
114 fVertexDescriptor = vertexDescriptor;
DGrMtlCopyPipelineState.mm16 MTLVertexDescriptor* vertexDescriptor) {
22 pipelineDescriptor.vertexDescriptor = vertexDescriptor;
DGrMtlPipelineStateBuilder.mm162 auto vertexDescriptor = [[MTLVertexDescriptor alloc] init];
168 MTLVertexAttributeDescriptor* mtlAttribute = vertexDescriptor.attributes[attributeIndex];
180 vertexDescriptor.layouts[vertexBinding];
189 MTLVertexAttributeDescriptor* mtlAttribute = vertexDescriptor.attributes[attributeIndex];
201 vertexDescriptor.layouts[instanceBinding];
206 return vertexDescriptor;
345 pipelineDescriptor.vertexDescriptor = create_vertex_descriptor(primProc);
350 SkASSERT(pipelineDescriptor.vertexDescriptor);
DGrMtlResourceProvider.mm20 MTLVertexDescriptor* vertexDescriptor) {
29 fGpu, dstPixelFormat, vertexFunction, fragmentFunction, vertexDescriptor));
DGrMtlResourceProvider.h25 MTLVertexDescriptor* vertexDescriptor);
DGrMtlCopyPipelineState.h21 MTLVertexDescriptor* vertexDescriptor);
/external/skia/src/gpu/mtl/
DGrMtlPipelineStateBuilder.mm222 auto vertexDescriptor = [[MTLVertexDescriptor alloc] init];
228 MTLVertexAttributeDescriptor* mtlAttribute = vertexDescriptor.attributes[attributeIndex];
241 vertexDescriptor.layouts[vertexBinding];
250 MTLVertexAttributeDescriptor* mtlAttribute = vertexDescriptor.attributes[attributeIndex];
262 vertexDescriptor.layouts[instanceBinding];
267 return vertexDescriptor;
496 pipelineDescriptor.vertexDescriptor = create_vertex_descriptor(programInfo.primProc());
514 SkASSERT(pipelineDescriptor.vertexDescriptor);
/external/angle/src/libANGLE/renderer/metal/
Dmtl_state_cache.mm149 ANGLE_OBJC_CP_PROPERTY(objCDesc, desc, vertexDescriptor);
810 const VertexDesc &desc = rpdesc.vertexDescriptor;
876 [objCDesc.get().vertexDescriptor.layouts
Dmtl_state_cache.h227 VertexDesc vertexDescriptor; member
DContextMtl.mm1674 &mRenderPipelineDesc.vertexDescriptor));