diff options
author | Ian Romanick <[email protected]> | 2012-11-09 10:23:30 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-01-11 10:57:25 -0800 |
commit | 00d8ad81ffeda1d2a10b1ee65f4a144467d0afd1 (patch) | |
tree | 57d70a42004ddf0ffeb6600eff2a5dd78801bbc8 /src/mesa/drivers | |
parent | 886979a097ca260d157c92189be4e4f5d6c35e8a (diff) |
i965: Add support for GL_ANY_SAMPLES_PASSED_CONSERVATIVE
We just treat this as an alias for GL_ANY_SAMPLES_PASSED.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_queryobj.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_queryobj.c b/src/mesa/drivers/dri/i965/brw_queryobj.c index ff873aea9df..b6143f9fc52 100644 --- a/src/mesa/drivers/dri/i965/brw_queryobj.c +++ b/src/mesa/drivers/dri/i965/brw_queryobj.c @@ -195,6 +195,7 @@ brw_queryobj_get_results(struct gl_context *ctx, break; case GL_ANY_SAMPLES_PASSED: + case GL_ANY_SAMPLES_PASSED_CONSERVATIVE: /* Set true if any of the sub-queries passed. */ for (i = query->first_index; i <= query->last_index; i++) { if (results[i * 2 + 1] != results[i * 2]) { @@ -261,6 +262,7 @@ brw_begin_query(struct gl_context *ctx, struct gl_query_object *q) break; case GL_ANY_SAMPLES_PASSED: + case GL_ANY_SAMPLES_PASSED_CONSERVATIVE: case GL_SAMPLES_PASSED_ARB: /* Reset our driver's tracking of query state. */ drm_intel_bo_unreference(query->bo); @@ -316,6 +318,7 @@ brw_end_query(struct gl_context *ctx, struct gl_query_object *q) break; case GL_ANY_SAMPLES_PASSED: + case GL_ANY_SAMPLES_PASSED_CONSERVATIVE: case GL_SAMPLES_PASSED_ARB: if (query->bo) { brw_emit_query_end(brw); |