Skip to content

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

@jeffnn

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”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug, regression, crash

    Type

    No type

    Projects

    Status

    Triaged

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions