Fixing float data bug

This commit is contained in:
Dynamitos committed 2024-08-07 21:52:45 +02:00
1 parent 64a26bfd57
commit 3f8ce3a25e
3 files changed
+5 -8

No files matched your search

+1
View File
@@ -75,6 +75,7 @@ void Material::updateDescriptor() {
.sourceData =
{
.size = floatData.size() * sizeof(float),
.data = (uint8*)floatData.data(),
},
});
floatBuffer->pipelineBarrier(Gfx::SE_ACCESS_TRANSFER_WRITE_BIT, Gfx::SE_PIPELINE_STAGE_TRANSFER_BIT, Gfx::SE_ACCESS_SHADER_READ_BIT,