[Mesa-dev] [PATCH 01/11] nvc0: use a different offset for buffers and surfaces

Ilia Mirkin imirkin at alum.mit.edu
Sat Feb 27 15:13:10 UTC 2016


On Sat, Feb 27, 2016 at 9:50 AM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
>
>
> On 02/27/2016 03:42 PM, Ilia Mirkin wrote:
>>
>> Why wouldn't you have surfaces for other shader types? Surface == image.
>> I was thinking they would just use a fixed offset from the suinfobase
>> which I repurposed for buffers.
>>
>> Either way, why do you need to touch this now?
>
>
> Because for compute on Kepler, I need to bind both images and buffers and if
> I use the same offset they will be overwritten.

Why is compute so special that it needs images, but other stages
don't? Either way, images are broken, just comment out the code that's
trying to write to the constbuf. We'll need to find a spot for them
and normalize it wrt fermi, but that doesn't need to be done as part
of compute enablement...

  -ilia


More information about the mesa-dev mailing list