graphics fixes
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
static const uint THREADCOUNT = 64;
|
||||
|
||||
RWByteAddressBuffer output_meshlets : register(u0);
|
||||
RWStructuredBuffer<ShaderMeshlet> 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<ShaderMeshlet>(meshletIndex * sizeof(ShaderMeshlet), meshlet);
|
||||
output_meshlets[meshletIndex] = meshlet;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user