[Mesa-dev] [PATCH 00/20] Mesa: Reducing sizes of gl_context etc.

Marek Olšák maraeo at gmail.com
Wed Nov 22 22:11:55 UTC 2017


On Wed, Nov 22, 2017 at 10:18 PM, Ian Romanick <idr at freedesktop.org> wrote:
> On 11/22/2017 11:02 AM, Nicolai Hähnle wrote:
>> On 21.11.2017 19:01, Marek Olšák wrote:
>>> Hi,
>>>
>>> This series reduces sizes of many driver structures. For example:
>>>
>>> gl_context: 152488 -> 72944 bytes
>>> vbo_context: 22696 -> 20008 bytes
>>> st_context: 10120 ->  3704 bytes
>>>
>>> The idea is to decrease CPU cache usage on smaller CPUs. I have not
>>> noticed a performance difference with microbenchmarks. It might be
>>> a different story with complex apps.
>>>
>>> There are some good cleanups as well as some controversial changes,
>>> so some piglit regressions are to be expected, but we can change
>>> piglit not to test those silly cases if we all agree that this is
>>> the right thing to do. Feel free to discuss them on the commit
>>> threads.
>>>
>>> Branch for testing:
>>>      git://people.freedesktop.org/~mareko/mesa context-reduce-size
>>>
>>> Expected piglit failures where piglit might need changes:
>>> - spec/!openg 1.3/texunits
>>> - spec/arb_viewport_array/viewport-indices
>>
>> Can you explain where these failures come from?
>
> Patch 4 explains the first, and, while I haven't gotten there yet, I'll
> guess that patch 14 explains the second.

Yes, the patches explain the failures.

Marek


More information about the mesa-dev mailing list