Fixing float data bug

This commit is contained in:
Dynamitos
2024-08-07 21:52:45 +02:00
parent 64a26bfd57
commit 3f8ce3a25e
3 changed files with 5 additions and 8 deletions
+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,