Don't refer directly to g_Config.iMultiSampleLevel, it can contain unsupported modes.

This commit is contained in:
Henrik Rydgård committed 2022-12-14 16:43:37 +01:00
1 parent 41e5b1e95a
commit 11366a2ded
11 files changed
+55 -23

No files matched your search

+1 -1
View File
@@ -727,7 +727,7 @@ bool PipelineManagerVulkan::LoadPipelineCache(FILE *file, bool loadRawPipelineCa
// Read the number of pipelines.
bool failed = fread(&size, sizeof(size), 1, file) != 1;
NOTICE_LOG(G3D, "Creating %d pipelines from cache...", size);
NOTICE_LOG(G3D, "Creating %d pipelines from cache (%dx MSAA)...", size, (1 << multiSampleLevel));
int pipelineCreateFailCount = 0;
int shaderFailCount = 0;
for (uint32_t i = 0; i < size; i++) {