Skip to content

No debug info for locally-declared dynamic resources (SM 6.6) #3531

Open

Description

@jeffnn

Example: Given this HLSL:

static RWByteAddressBuffer DynamicBuffer = ResourceDescriptorHeap[1];
[numthreads(1, 1, 1)]
void DynamicResources()
{
    uint val = DynamicBuffer.Load(0u);
    RWByteAddressBuffer DynamicallyIndexedDynamicBuffer = ResourceDescriptorHeap[256 + val &0xf];
    floatRWUAV[0] = DynamicallyIndexedDynamicBuffer.Load(0);
}

There is no metadata at all for the locally-defined “DynamicallyIndexedDynamicBuffer”.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions