From b1e0a27f8c12d16349feaa27af5a51011ee6d8fb Mon Sep 17 00:00:00 2001 From: squidbus <175574877+squidbus@users.noreply.github.com> Date: Wed, 1 Oct 2025 12:34:00 -0700 Subject: [PATCH] Fix conditional survey buffer flags. --- MarathonRecomp/gpu/video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MarathonRecomp/gpu/video.cpp b/MarathonRecomp/gpu/video.cpp index 728454149..e70ba4d41 100644 --- a/MarathonRecomp/gpu/video.cpp +++ b/MarathonRecomp/gpu/video.cpp @@ -2162,7 +2162,7 @@ bool Video::CreateHostDevice(const char *sdlVideoDriver, bool graphicsApiRetry) RenderBufferDesc conditionalSurveyBufferDesc; conditionalSurveyBufferDesc.size = CONDITIONAL_SURVEY_MAX * sizeof(uint32_t); conditionalSurveyBufferDesc.heapType = RenderHeapType::DEFAULT; - conditionalSurveyBufferDesc.flags = RenderBufferFlag::STORAGE | RenderTextureFlag::UNORDERED_ACCESS; + conditionalSurveyBufferDesc.flags = RenderBufferFlag::STORAGE | RenderBufferFlag::UNORDERED_ACCESS; g_conditionalSurveyBuffer = g_device->createBuffer(conditionalSurveyBufferDesc); RenderDescriptorSetBuilder conditionalSurveyDescriptorSetBuilder;