Unformatted types in argument buffers

The new Xcode 14 Metal visualization and debugger features are awesome. However, one major pain point for me with indirect compute command buffers and indirect argument buffers, is that the buffer viewer is not typed when viewing buffers bound to an argument buffer. It defaults to displaying everything as float types. This is for compute encoding, I haven't tried it for render encoders. For non-trivial types (structs), it's painful to figure out which piece of memory is what, therefore I convert everything back to regular MTLComputeCommandEncoders (non bindless) when debugging especially complicated compute pipelines, which is far from ideal.

Are there any workarounds or is this a current limitation?

Post not yet marked as solved Up vote post of timtimmy Down vote post of timtimmy
524 views

Replies

Can you file a Feedback Assistant report on this using the Feedback Assistant app and post the feedback ID here? If you can export and attach a gputrace, or a sample project showing this issue that would be helpful for us to investigate too. Thanks.