Kaynağa Gözat

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

(cherry picked from commit 8bd29f7ca3612af10fc2ca54bce6b5ca01091e97)
Acclution 1 ay önce
ebeveyn
işleme
b8dc9767da
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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(