Skip to content

Commit

Permalink
Remove some FIXMEs which are already done or are incorrect
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Quill <robert.quill@imgtec.com>
  • Loading branch information
robquill committed Aug 29, 2024
1 parent 69b2d36 commit 283bc3a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/Image.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ Image::recordStagingMemoryBarrier(const vk::CommandBuffer& commandBuffer,
vk::ImageLayout::eGeneral);
}

// FIXME: Make this private.
void
Image::recordImageMemoryBarrier(const vk::CommandBuffer& commandBuffer,
const vk::Image& image,
Expand Down Expand Up @@ -328,7 +327,6 @@ Image::constructDescriptorImageInfo()
KP_LOG_DEBUG("Kompute Image construct descriptor image info size {}",
this->memorySize());

// RQ: FIXME: Initilaise these correctly.
vk::ImageViewCreateInfo viewInfo;
viewInfo.image = *this->mPrimaryImage;
viewInfo.format = this->getFormat();
Expand Down
2 changes: 0 additions & 2 deletions src/OpSyncLocal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ OpSyncLocal::record(const vk::CommandBuffer& commandBuffer)
this->mMemObjects[i]->recordPrimaryMemoryBarrier(
commandBuffer,
vk::AccessFlagBits::eShaderWrite,
// FIXME: eTransferRead is not supported for the compute pipeline
vk::AccessFlagBits::eTransferRead,
vk::PipelineStageFlagBits::eComputeShader,
vk::PipelineStageFlagBits::eTransfer);
Expand All @@ -44,7 +43,6 @@ OpSyncLocal::record(const vk::CommandBuffer& commandBuffer)

this->mMemObjects[i]->recordPrimaryMemoryBarrier(
commandBuffer,
// FIXME: eTransferRead is not supported for the compute pipeline
vk::AccessFlagBits::eTransferWrite,
vk::AccessFlagBits::eHostRead,
vk::PipelineStageFlagBits::eTransfer,
Expand Down
1 change: 0 additions & 1 deletion src/Tensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ Tensor::recordStagingMemoryBarrier(const vk::CommandBuffer& commandBuffer,
dstStageMask);
}

// FIXME: Make this private.
void
Tensor::recordBufferMemoryBarrier(const vk::CommandBuffer& commandBuffer,
const vk::Buffer& buffer,
Expand Down

0 comments on commit 283bc3a

Please sign in to comment.