summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-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;
}