On 10 October 2016 at 21:45, Arsenault, Matthew <matthew.arsena...@amd.com> wrote: > I don't like adding explicit IR arguments for ABI arguments, especially this > one. Adding a special case for the first index feels dirty. The rest of llvm > also won't be aware of the specialness of the argument. It would be > problematic because bugpoint would eliminate the unused argument and then > codegen would have to fail in some way when the argument is missing >
We should just hardcode the behaviour and switch both radv/radeonsi over in one go? I'll try and code up, using the first 64-bits of the first buffer pointed to by userdata 0/1, to store things. Dave. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev