Skip to content

Commit

Permalink
MetalPipelineCache fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DeltaW0x committed Dec 10, 2024
1 parent 144efe3 commit fbe8b8a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gpu/metal/SDL_gpu_metal.m
Original file line number Diff line number Diff line change
Expand Up @@ -513,14 +513,16 @@ static MTLDepthClipMode SDLToMetal_DepthClipMode(
Uint32 threadcountZ;
} MetalComputePipeline;

/*
typedef struct MetalPipelineCache
{
@available(macOS 11.0, iOS 14.0, tvOS 14.0, *) id<MTLBinaryArchive> pipelineCache;
id<MTLBinaryArchive> pipelineCache;
size_t checksumSize;
void* checksumData;
size_t cacheBlobSize;
void* cacheBlob;
} MetalPipelineCache;
*/

typedef struct MetalBuffer
{
Expand Down

0 comments on commit fbe8b8a

Please sign in to comment.