Black bindless textures in Frame capture

Hello,
I have recently moved to bindless textures using Dx12 and HLSL 6.6 ResourceDescriptorHeap and I noticed that my bindless textures dont work in Frame capture. Here is image before and after capture:

Here is simplified version of pixel shader:

Texture2D<float4> GetTexture(uint index)
{
    return ResourceDescriptorHeap[index];
}

SamplerState g_sampler : register(s0);

uint TexIdColor;

float4 PSMain(PSInput input) : SV_TARGET
{
    return GetTexture(TexIdColor).Sample(g_sampler, input.uv);
}

All variables are set correctly and point to right resource in heap. I can even see that previous revision of output before capture used right textures:

All texture access using bound textures works correctly, either next steps in post processing or when I modified my shader to access bound color texture.

Is ResourceDescriptorHeap not supported, or perhaps I havent declared something enough? I havent really worked too much using bindless resources so I hope its error on my end.

Thanks

Hi marektomco,

Thank you for using Nsight Graphics and providing your feedback. We are sorry for any inconvenience you have encountered.

What version of Nsight Graphics are you using? If it’s old, could you take a try on latest Nsight Graphics release (2024.2)?

On the other hand, it doesn’t look OK for the black objects after launch by Nsight Graphics, could you please provide a simple example that would allow us to reproduce the issue? This will help us in investigating and resolving the problem more efficiently.

Thanks
An

Here is code example showing discrepancy between running standalone and in nsight. Comparing microsoft:master...RazielXT:master · microsoft/DirectX-Graphics-Samples · GitHub

This is commit to fork of microsoft/DirectX-Graphics-Samples using example D3D12HelloTexture to show the problem. Running standalone both bound and bindless usage is correct (left), but in nsight bindless shader doesnt show right colors (right).

Note: I modified example to dxcompiler to use hlsl 6.6
Note2: this time its not black, but its not right either

Nsight 2024.3
3070 laptop, drivers 565.90

Hi marektomco,

Thanks for your share, yes, I think I can repro your issue. An internal case has been created to track this issue.

Thanks
An

1 Like

Hi marektomco,

Thanks for your patience. By the release of Nsight Graphics 2025.2 | NVIDIA Developer, you can use the Graphics Capture activity, which will show you the correct bindless texture. I have tried that on my local test machine.

Thanks
An

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.