diff options
author | Chris Forbes <[email protected]> | 2013-03-03 21:46:12 +1300 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2013-03-24 16:38:18 +1300 |
commit | 2405da174ed52cd1b164a6f16cb32964879348a3 (patch) | |
tree | 0dff631510216f1e2f001e1819ecbe9ecef95729 /bin | |
parent | 90b5a2425a5f362ef51ae7bb4d296fc682b92f46 (diff) |
mesa: use _mesa_check_sample_count() for multisample textures
Extends _mesa_check_sample_count() to properly support the
TEXTURE_2D_MULTISAMPLE and TEXTURE_2D_MULTISAMPLE_ARRAY targets, which
have subtly different limits than renderbuffers.
This resolves the remaining TODO in the implementation of
TexImage*DMultisample.
V2: - Don't introduce spurious block.
- Do this in multisample.c instead.
- Fix typo in error message.
- Inline spec quotes
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions