[Mesa-dev] [PATCH 2/3] nvc0/ir: remove useless NVC0LoweringPass::gMemBase

Samuel Pitoiset samuel.pitoiset at gmail.com
Wed Oct 19 21:45:07 UTC 2016



On 10/19/2016 11:41 PM, Ilia Mirkin wrote:
> On Wed, Oct 19, 2016 at 5:33 PM, Samuel Pitoiset
> <samuel.pitoiset at gmail.com> wrote:
>>
>>
>> On 10/19/2016 11:29 PM, Ilia Mirkin wrote:
>>>
>>> It avoids creating a ton of symbols unnecessarily during the lifetime
>>> of the pass. Does it hurt anything?
>>
>>
>> I think either we use that symbol everywhere we can, or we simply remove it.
>> We don't even use it for GF100 atomic operations.
>
> Sure, but it's just an instance variable. Doesn't hurt anything.
>
> Anyways, the amount of overhead this saves on is minimal - one alloc
> per atomic op. I don't really care either way.

Yes, not so much. :-)

>


More information about the mesa-dev mailing list