[Mesa-dev] [PATCH] st/query: init result data with 0

Karol Herbst karolherbst at gmail.com
Sat Aug 26 00:23:23 UTC 2017


On Sat, Aug 26, 2017 at 1:38 AM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> On Fri, Aug 25, 2017 at 7:37 PM, Karol Herbst <karolherbst at gmail.com> wrote:
>> On Sat, Aug 26, 2017 at 1:30 AM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
>>> Why is this necessary? If data is not initialized, then presumably
>>> pipe->get_query_result will have returned false.
>>>
>>
>> but it didn't. It might be the drivers fault (in my case nouveau) that
>> it writes garbage or nothing into data. Where it is most likely the
>> latter.
>
> Sounds like a nouveau bug then.

looks like nouveau never writes to
result->pipeline_statistics.cs_invocations, because it only writes
into the first 10 fields leaving out this 11th one.


More information about the mesa-dev mailing list