forked from Dynamitos/Seele
Fixing float data bug
This commit is contained in:
1 parent
64a26bfd57
commit
3f8ce3a25e
3 files changed
+5
-8
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user