From: Stéphane Marchesin Date: Mon, 27 Jun 2011 02:38:12 +0000 (-0700) Subject: i915g: Return the max result for the fake occlusion queries. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9d29d48bb05907180881340862e2ebcd271af63d;p=mesa.git i915g: Return the max result for the fake occlusion queries. --- diff --git a/src/gallium/drivers/i915/i915_query.c b/src/gallium/drivers/i915/i915_query.c index 77ed946c5c5..c886df74bad 100644 --- a/src/gallium/drivers/i915/i915_query.c +++ b/src/gallium/drivers/i915/i915_query.c @@ -69,7 +69,8 @@ static boolean i915_get_query_result(struct pipe_context *ctx, { uint64_t *result = (uint64_t*)vresult; - *result = 0; + /* 2* viewport Max */ + *result = 512*1024*1024; return TRUE; }