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.mm195 auto vertexDescriptor = [[MTLVertexDescriptor alloc] init];
204 MTLVertexAttributeDescriptor* mtlAttribute = vertexDescriptor.attributes[attributeIndex];
223 vertexDescriptor.layouts[vertexBinding];
238 MTLVertexAttributeDescriptor* mtlAttribute = vertexDescriptor.attributes[attributeIndex];
257 vertexDescriptor.layouts[instanceBinding];
265 return vertexDescriptor;
405 auto vertexDescriptor = [[MTLVertexDescriptor alloc] init];
414 … MTLVertexAttributeDescriptor* mtlAttribute = vertexDescriptor.attributes[attributeIndex];
422 vertexDescriptor.layouts[vertexBinding];
431 … MTLVertexAttributeDescriptor* mtlAttribute = vertexDescriptor.attributes[attributeIndex];
[all …]
/external/angle/src/libANGLE/renderer/metal/
Dmtl_state_cache.mm155 ANGLE_OBJC_CP_PROPERTY(objCDesc, desc, vertexDescriptor);
895 const VertexDesc &desc = rpdesc.vertexDescriptor;
1015 [objCDesc.get().vertexDescriptor.layouts
Dmtl_state_cache.h279 VertexDesc vertexDescriptor; member
DContextMtl.mm2280 &mRenderPipelineDesc.vertexDescriptor));