Re: [Mesa-dev] Gallium u_gen_mipmap problem with queries

2014-03-12 Thread Marek Olšák
I don't think there is a disable bit for all queries in our hardware. We disable queries by "ending" them and resuming is like starting a new one. We have to do that for context switches and blitting and resource_copy_region anyway. Conditional rendering can be predicated by an array of query resu

Re: [Mesa-dev] Gallium u_gen_mipmap problem with queries

2014-03-12 Thread Roland Scheidegger
Am 12.03.2014 15:00, schrieb Marek Olšák: > Hi everybody, > > u_gen_mipmap doesn't disable queries, so all active queries are > incremented, even though mipmap generation shouldn't have any effect > on queries. Hardware drivers can disable queries, but this feature is > not exposed via the gallium

[Mesa-dev] Gallium u_gen_mipmap problem with queries

2014-03-12 Thread Marek Olšák
Hi everybody, u_gen_mipmap doesn't disable queries, so all active queries are incremented, even though mipmap generation shouldn't have any effect on queries. Hardware drivers can disable queries, but this feature is not exposed via the gallium interface. Generally, we want to disable all queries