Vulkan - No way to view samplers if they are in a separate descriptor set?

Nsight Graphics Version 2018.7.0.0

Hi!

Just wondering if there is any way to view samplers when doing a Vulkan capture in Nsight if the Images and Samplers are in separate descriptor sets.

We’ve got our Images in Descriptor Set 2 and Samplers in Set 1.

But under the FS view in API Inspector View, it only shows our images all from Descriptor Set 2 and none of the samplers.

Is this a missing feature or perhaps we’re doing something wrong?

Thanks!

Alex

Hi Alex,

Sorry for the confusion! This view should show the samplers.

In that particular view, we don’t support VK_DESCRIPTOR_TYPE_SAMPLER descriptors, which is why your samplers are not showing up. So, you are not doing anything wrong.

I’ll submit a bug for the development team and can get back to you once we have scheduled a fix! (DG-3678)

Thanks,
Seth

Hi Alex,

We just released Nsight Graphics 2019.1 that has support for VK_DESCRIPTOR_TYPE_SAMPLER! This should fix your issue. Give the new build a try and let me know if it works for you!

Thanks,
Seth

Hi Seth!

I’ve given the new build a try this morning, where should I be looking to see the samplers? I expected them to be in the API Inspector View → FS → Images & Samplers for the current draw but I still only see the images.

Alex

Hi Alex,

Very interesting. That is exactly where they should show up. Let us do some investigation and see if we missed anything.

If your app is shareable, feel free to PM me with a link. That would greatly accelerate the investigation.

Sorry again for the issue!

Seth

Hi Seth,

If it helps, our structure is that we have all Uniforms in Set 0, all samplers at Set 1 and all Images at Set 2. We have a total of 16 images and 16 samplers valid at any time.

We can’t share the project I’m afraid, if I get time I could try to setup a test project which uses samplers in the same was as us but can’t promise anything.

Alex

Hi Alex,

Thanks for the Info.

I just talked to one of our engineers and he may have been able to repro this with a sample! I’ll keep you updated.

Thanks,
Seth

Hi Seth. Any update on this?

Thanks,

Alex

Hi Alex,

We have had some progress. We were able to repro the issue with a different sample and we have a fix.

Unfortunately, our next release is mid-march, so i’m seeing what we can do to potentially get you a build sooner.

Thanks,
Seth

Hi Seth! I notice 2019.2 has now been released, should I expect the fix in this build?

Also notice Vulkan profiling support has been added, a great addition!

Alex

Hi Alex,

Yep! 2019.2 should have your fix. Additionally, it did add VK profiling support as well!

Let me know if there are any other issues.

Cheers,
Seth