Re: [Mesa-dev] [PATCH 4/5] radeonsi/compute: Pass kernel arguments in a buffer

2013-05-24 Thread Tom Stellard
On Fri, May 24, 2013 at 01:32:20PM -0500, Patrick Baggett wrote: > The only difference I could see is that in the old code you passed > &cb->buffer (which maybe points to a value?) directly into u_upload_data() > where as in the new code, you do pass &cb->buffer as the parameter rbuffer > to r600_u

Re: [Mesa-dev] [PATCH 4/5] radeonsi/compute: Pass kernel arguments in a buffer

2013-05-24 Thread Patrick Baggett
The only difference I could see is that in the old code you passed &cb->buffer (which maybe points to a value?) directly into u_upload_data() where as in the new code, you do pass &cb->buffer as the parameter rbuffer to r600_upload_const_buffer(), but then inside that function, you do *rbuffer = NU

[Mesa-dev] [PATCH 4/5] radeonsi/compute: Pass kernel arguments in a buffer

2013-05-24 Thread Tom Stellard
From: Tom Stellard --- src/gallium/drivers/radeonsi/r600_buffer.c | 31 + src/gallium/drivers/radeonsi/radeonsi_compute.c | 26 ++--- src/gallium/drivers/radeonsi/si_state.c | 29 +++ 3 files changed, 51 insertions(+), 35 d