graphics fixes

This commit is contained in:
Turánszki János
2023-07-28 21:14:49 +02:00
parent f6b3f3ed30
commit 18d5264129
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -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;
}
}
}
+3 -2
View File
@@ -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)
+1 -1
View File
@@ -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);