Skip to content

Implement print.slang for Metal #302

Open
@kaizhangNV

Description

@kaizhangNV

Background: shader-slang/slang#6764

On Metal RWByteAddressBuffer::GetDimensions is not supported, because the buffer is mapped to a device pointer in Metal, it doesn't provide a way to query the size. Therefore, we will need another solution on Metal to pass the buffer size in.
This will involve adding the logic in

src/sgl/device/print.cpp 
src/sgl/device/print.h
src/sgl/device/print.slang

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions