소스 검색

GPU: Fix Vulkan compute uniform descriptor not being marked as set (#13389)

(cherry picked from commit 8bd29f7ca3612af10fc2ca54bce6b5ca01091e97)
Acclution 2 달 전
부모
커밋
b8dc9767da
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/gpu/vulkan/SDL_gpu_vulkan.c

+ 1 - 1
src/gpu/vulkan/SDL_gpu_vulkan.c

@@ -8594,7 +8594,7 @@ static void VULKAN_INTERNAL_BindComputeDescriptorSets(
         dynamicOffsetCount,
         dynamicOffsets);
 
-    commandBuffer->needNewVertexUniformOffsets = false;
+    commandBuffer->needNewComputeUniformOffsets = false;
 }
 
 static void VULKAN_DispatchCompute(