From 073d4048ebde0667f34ea661da288c1913d6b448 Mon Sep 17 00:00:00 2001 From: turanszkij Date: Thu, 17 May 2018 14:22:33 +0100 Subject: [PATCH] vulkan: particle shader doesn't crash now --- WickedEngine/emittedparticle_simulateCS.hlsl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/WickedEngine/emittedparticle_simulateCS.hlsl b/WickedEngine/emittedparticle_simulateCS.hlsl index 41a8f0761..47e7aee93 100644 --- a/WickedEngine/emittedparticle_simulateCS.hlsl +++ b/WickedEngine/emittedparticle_simulateCS.hlsl @@ -26,9 +26,6 @@ groupshared LDS_ForceField forceFields[NUM_LDS_FORCEFIELDS]; [numthreads(THREADCOUNT_SIMULATION, 1, 1)] void main(uint3 DTid : SV_DispatchThreadID, uint Gid : SV_GroupIndex) { -#ifndef SHADERCOMPILER_SPIRV - // TODO: this shader crashes the Vulkan compute pipeline creation... - uint aliveCount = counterBuffer[0].aliveCount; // Load the forcefields into LDS: @@ -149,5 +146,4 @@ void main(uint3 DTid : SV_DispatchThreadID, uint Gid : SV_GroupIndex) } } -#endif // SHADERCOMPILER_SPIRV }