Debugging with simpler shader

This commit is contained in:
Alejandro Saucedo 2020-08-22 12:31:00 +01:00
parent 8f6078c422
commit 181efc954b
4 changed files with 7 additions and 2 deletions

View file

@ -136,10 +136,11 @@ Tensor::recordCopyFrom(std::shared_ptr<Tensor> copyFromTensor)
// TODO: Explore if this function should be here or expose buffer
vk::DescriptorBufferInfo Tensor::constructDescriptorBufferInfo() {
vk::DeviceSize bufferSize = this->memorySize();
return vk::DescriptorBufferInfo(
*this->mBuffer,
0, // offset
VK_WHOLE_SIZE
bufferSize
);
}