Skip to content

[HLSL] Implement Load(int, uint) overloads for buffer types #138910

Open
@bogner

Description

@bogner

All of the HLSL buffer (and texture) types have overloads of Load like RWBuffer::Load(int, uint). We need to implement these in HLSLExternalSemaSource where we have the loads without the status bit.

These functions should call the appropriate buffer load intrinsic directly rather than emitting getpointer like the other loads do, since that's the only way we'll be able to map the status bit to the load of the right location. We also need to consider that for SPIR-V, DXC will map these loads to OpImageSparseRead rather than OpImageRead

Metadata

Metadata

Assignees

No one assigned

    Labels

    HLSLHLSL Language Support

    Type

    No type

    Projects

    Status

    Planning

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions