Skip to content

asahi: Clamp index buffer extent to what's read

Alyssa Rosenzweig requested to merge alyssa/mesa:asahi/clamp-ib into main

What does this MR do and why?

asahi: Clamp index buffer extent to what's read

This makes for cleaner agxdecodes, I think this matches what I've seen on the macOS side but I might be misremembering. Certainly shouldn't hurt.

This only applies for direct draws.

Signed-off-by: Alyssa Rosenzweig alyssa@rosenzweig.io

Merge request reports