summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-08-23 10:18:47 -0700
committerEric Anholt <[email protected]>2012-08-26 10:40:28 -0700
commitb765119c5d2cd41a7f47cce10fd1fdbcf162b03d (patch)
treed94b689df8707a17627b31da8f32f0c0f55c5112 /src/mesa/drivers/dri
parent6754ec831e5aaec516db929c8db6e7478a2f5540 (diff)
mesa: Add constants for the GL_QUERY_COUNTER_BITS per target.
Drivers need to be able to communicate their actual number of bits populated in the field in order for applications to be able to properly handle rollover. There's a small behavior change here: Instead of reporting the GL_SAMPLES_PASSED bits for GL_ANY_SAMPLES_PASSED (which would also be valid), just return 1, because more bits don't make any sense. Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
0 files changed, 0 insertions, 0 deletions