[Mesa-dev] [PATCH 2/2] [RFC] radv: add scratch support for spilling.

Dave Airlie airlied at gmail.com
Mon Oct 10 19:50:36 UTC 2016


On 10 October 2016 at 21:45, Arsenault, Matthew
<Matthew.Arsenault at 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.


More information about the mesa-dev mailing list