mirror of
https://github.com/Takiiiiiiii/strato.git
synced 2025-07-17 08:46:39 +00:00
Add option to enable/disable shader cache
This commit is contained in:
@ -32,6 +32,7 @@ namespace skyline::gpu::interconnect::maxwell3d {
|
||||
}
|
||||
|
||||
void RuntimeGraphicsPipelineStateAccessor::MarkComplete() {
|
||||
ctx.gpu.graphicsPipelineCacheManager->QueueWrite(std::move(bundle));
|
||||
if (ctx.gpu.graphicsPipelineCacheManager)
|
||||
ctx.gpu.graphicsPipelineCacheManager->QueueWrite(std::move(bundle));
|
||||
}
|
||||
}
|
||||
|
@ -881,6 +881,9 @@ namespace skyline::gpu::interconnect::maxwell3d {
|
||||
}
|
||||
|
||||
PipelineManager::PipelineManager(GPU &gpu) {
|
||||
if (!gpu.graphicsPipelineCacheManager)
|
||||
return;
|
||||
|
||||
std::ifstream stream{gpu.graphicsPipelineCacheManager->OpenReadStream()};
|
||||
i64 lastKnownGoodOffset{stream.tellg()};
|
||||
try {
|
||||
|
Reference in New Issue
Block a user