diff --git a/WickedEngine/shaders/meshlet_prepareCS.hlsl b/WickedEngine/shaders/meshlet_prepareCS.hlsl index 833fa551c..03060f4f6 100644 --- a/WickedEngine/shaders/meshlet_prepareCS.hlsl +++ b/WickedEngine/shaders/meshlet_prepareCS.hlsl @@ -2,7 +2,7 @@ static const uint THREADCOUNT = 64; -RWByteAddressBuffer output_meshlets : register(u0); +RWStructuredBuffer output_meshlets : register(u0); [numthreads(1, THREADCOUNT, 1)] void main(uint3 DTid : SV_DispatchThreadID, uint3 Gid : SV_GroupID, uint groupIndex : SV_GroupIndex) @@ -23,7 +23,7 @@ void main(uint3 DTid : SV_DispatchThreadID, uint3 Gid : SV_GroupID, uint groupIn meshlet.padding = 0; uint meshletIndex = inst.meshletOffset + geometry.meshletOffset + j; - output_meshlets.Store(meshletIndex * sizeof(ShaderMeshlet), meshlet); + output_meshlets[meshletIndex] = meshlet; } } } diff --git a/WickedEngine/wiGraphicsDevice_Vulkan.cpp b/WickedEngine/wiGraphicsDevice_Vulkan.cpp index a1ac25b5b..6b8010fa3 100644 --- a/WickedEngine/wiGraphicsDevice_Vulkan.cpp +++ b/WickedEngine/wiGraphicsDevice_Vulkan.cpp @@ -4542,8 +4542,9 @@ using namespace vulkan_internal; for (auto& x : bindings) { - if (x->accessed == 0) - continue; + // This has some issues atm with some specific shader, recheck in the future with different compiler version + //if (x->accessed == 0) + // continue; const bool bindless = x->set > 0; if (bindless) diff --git a/WickedEngine/wiVersion.cpp b/WickedEngine/wiVersion.cpp index 9c77b10d5..fe38e7ae2 100644 --- a/WickedEngine/wiVersion.cpp +++ b/WickedEngine/wiVersion.cpp @@ -9,7 +9,7 @@ namespace wi::version // minor features, major updates, breaking compatibility changes const int minor = 71; // minor bug fixes, alterations, refactors, updates - const int revision = 261; + const int revision = 262; const std::string version_string = std::to_string(major) + "." + std::to_string(minor) + "." + std::to_string(revision);