[Mesa-dev] [PATCH 2/3] nvc0/ir: remove useless NVC0LoweringPass::gMemBase
Ilia Mirkin
imirkin at alum.mit.edu
Wed Oct 19 21:41:18 UTC 2016
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.
More information about the mesa-dev
mailing list