diff options
author | Eric Anholt <[email protected]> | 2012-08-23 10:18:47 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-08-26 10:40:28 -0700 |
commit | b765119c5d2cd41a7f47cce10fd1fdbcf162b03d (patch) | |
tree | d94b689df8707a17627b31da8f32f0c0f55c5112 /src/mesa/drivers/dri/intel | |
parent | 6754ec831e5aaec516db929c8db6e7478a2f5540 (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/intel')
0 files changed, 0 insertions, 0 deletions