Skip to content
Snippets Groups Projects
Commit 0d207905 authored by Anuj Phogat's avatar Anuj Phogat
Browse files

meta: Abort meta pbo path if readpixels need signed-unsigned conversion


Meta pbo path for ReadPixels rely on BlitFramebuffer which doesn't support
signed to unsigned integer conversions and vice versa.

Without this patch, piglit test fbo_integer_readpixels_sint_uint fails, when
forced to use the meta pbo path.

v2: Make need_signed_unsigned_int_conversion() a static function. (Iago)
    Bump up the comment and the commit message. (Jason)

Signed-off-by: default avatarAnuj Phogat <anuj.phogat@gmail.com>
Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarJason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: default avatarIago Toral <itoral@igalia.com>
parent 1252d53c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment