summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/i915
diff options
context:
space:
mode:
authorStéphane Marchesin <[email protected]>2011-06-26 19:38:12 -0700
committerStéphane Marchesin <[email protected]>2011-06-27 02:05:59 -0700
commit9d29d48bb05907180881340862e2ebcd271af63d (patch)
tree852bda657e6182d41ae0be80126d8f8bfc19562f /src/gallium/drivers/i915
parentb13865e694884ac08ff6acd5f55088156029f50e (diff)
i915g: Return the max result for the fake occlusion queries.
Diffstat (limited to 'src/gallium/drivers/i915')
-rw-r--r--src/gallium/drivers/i915/i915_query.c3
1 files changed, 2 insertions, 1 deletions
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;
}