mesa/src
Eric Anholt d491ad1d36 st: Allow accelerated CopyTexImage from RGBA to RGB.
There's nothing to worry about here -- the A channel just gets dropped by
the blit.  This avoids a segfault in the fallback path when copying from a
RGBA16_SINT renderbuffer to a RGB16_SINT destination represented by an
RGBA16_SINT texture (the fallback path tries to get/fetch to float
buffers, but the float pack/unpack functions are NULL for SINT/UINT).

Fixes KHR-GLES3.packed_pixels.pbo_rectangle.rgba16i on VC5.

v2: Extract the logic to a helper function and explain what's going on
    better.
v3: const-qualify args

Reviewed-by: Brian Paul <brianp@vmware.com>
2018-03-26 17:33:37 -07:00
..
amd radeonsi: don't reallocate on DMABUF export if local BOs are disabled 2018-03-26 19:22:12 -04:00
broadcom broadcom/vc5: Account for InstanceID/VertexID in VPM segment size. 2018-03-22 15:12:21 -07:00
compiler glsl: fix infinite loop caused by bug in loop unrolling pass 2018-03-27 09:15:02 +11:00
egl wayland-drm: do not distribute generated sources 2018-03-23 11:27:12 +01:00
gallium winsys/amdgpu: always allow GTT placements on APUs 2018-03-26 19:23:30 -04:00
gbm meson: Use include directory variables instead of traversing 2018-03-07 13:30:53 -08:00
getopt
glx dri3: Don't fail on version mismatch 2018-03-20 08:52:59 +00:00
gtest autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
hgl meson: Add Haiku platform support v4 2018-02-16 16:56:34 -06:00
intel intel/aubinator_error_decode: Decode more registers. 2018-03-26 09:25:57 -07:00
loader dri3: Don't fail on version mismatch 2018-03-20 08:52:59 +00:00
mapi *-symbol-check: use correct nm path when cross-compiling 2018-02-26 13:50:59 +00:00
mesa st: Allow accelerated CopyTexImage from RGBA to RGB. 2018-03-26 17:33:37 -07:00
util meson/configure: detect endian.h instead of trying to guess when it's available 2018-03-23 11:44:21 +00:00
vulkan wayland-drm: do not distribute generated sources 2018-03-23 11:27:12 +01:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am autotools: include meson build files in tarball 2018-01-19 16:30:51 -08:00
meson.build meson: fix building without GL 2018-02-26 09:32:14 -08:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00