Re: [Mesa-dev] [PATCH] llvmpipe: fix wrong results for queries not in a scene

2013-06-21 Thread Jose Fonseca
Yes, that's definetely wrong with the newer query types. And I agree that for most query types, the situation of nothing being drawned inside the query is too rare to be of concern. Though I wonder if we should do better in a follow on patch for time queries -- which applications might emit

[Mesa-dev] [PATCH] llvmpipe: fix wrong results for queries not in a scene

2013-06-20 Thread sroland
From: Roland Scheidegger srol...@vmware.com The result isn't always 0 in this case (depends on query type), so instead of special casing this just use the ordinary path (should result in correct values thanks to initialization in query_begin/end), just skipping the fence wait. ---