File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -282,8 +282,6 @@ class ColorSpaceTestSampleApp final : public examples::SimpleWindowedApplication
282
282
{
283
283
auto image = smart_refctd_ptr_static_cast<ICPUImage>(asset);
284
284
const auto format = image->getCreationParameters ().format ;
285
- if (!isBlockCompressionFormat (format))
286
- return ;
287
285
288
286
ICPUImageView::SCreationParams viewParams = {
289
287
.flags = ICPUImageView::E_CREATE_FLAGS::ECF_NONE,
@@ -365,6 +363,7 @@ class ColorSpaceTestSampleApp final : public examples::SimpleWindowedApplication
365
363
gpuImg = m_device->createImage (std::move (imageParams));
366
364
if (!gpuImg || !m_device->allocate (gpuImg->getMemoryReqs (),gpuImg.get ()).isValid ())
367
365
return ;
366
+ gpuImg->setObjectDebugName (m_nextPath.c_str ());
368
367
369
368
cmdbuf->begin (IGPUCommandBuffer::USAGE::ONE_TIME_SUBMIT_BIT);
370
369
// change the layout of the image
You can’t perform that action at this time.
0 commit comments