nv50: do not create an invalid HW query type
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Sat, 17 Oct 2015 09:24:50 +0000 (11:24 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 30 Oct 2015 16:57:15 +0000 (17:57 +0100)
commit0d0329df8fc95754a8edd76d1da0b32e2aaf83df
tree4c6ba0be42b3d8b606db704d87aec7416c0b3670
parent5f1eeb799bd9bcdb32382961e57ef74253701ed2
nv50: do not create an invalid HW query type

While we are at it, store the rotate offset for occlusion queries to
nv50_hw_query like on nvc0.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Pierre Moreau <pierre.morrow@free.fr>
src/gallium/drivers/nouveau/nv50/nv50_query_hw.c
src/gallium/drivers/nouveau/nv50/nv50_query_hw.h