Skip to content

Commit 870e1d5

Browse files
re-enable showing non-compressed textures
1 parent 0d33616 commit 870e1d5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

24_ColorSpaceTest/main.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,6 @@ class ColorSpaceTestSampleApp final : public examples::SimpleWindowedApplication
282282
{
283283
auto image = smart_refctd_ptr_static_cast<ICPUImage>(asset);
284284
const auto format = image->getCreationParameters().format;
285-
if (!isBlockCompressionFormat(format))
286-
return;
287285

288286
ICPUImageView::SCreationParams viewParams = {
289287
.flags = ICPUImageView::E_CREATE_FLAGS::ECF_NONE,
@@ -365,6 +363,7 @@ class ColorSpaceTestSampleApp final : public examples::SimpleWindowedApplication
365363
gpuImg = m_device->createImage(std::move(imageParams));
366364
if (!gpuImg || !m_device->allocate(gpuImg->getMemoryReqs(),gpuImg.get()).isValid())
367365
return;
366+
gpuImg->setObjectDebugName(m_nextPath.c_str());
368367

369368
cmdbuf->begin(IGPUCommandBuffer::USAGE::ONE_TIME_SUBMIT_BIT);
370369
// change the layout of the image

0 commit comments

Comments
 (0)