mesa/src
Ian Romanick f1d487f4f0 r100: Use _mesa_get_format_base_format in radeon_update_wrapper
The wrapper is for a renderbuffer around a texture.  Textures can have
formats (e.g., 3) that aren't valide for API generated renderbuffers.
_mesa_base_fbo_format will return 0, but _mesa_get_format_base_format
will return the base format of RGB.

Fixes a crashes in piglit tests fbo-alphatest-formats (all subtests
pass) and fbo-colormask-formats (some subtests pass, some fail).

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit 303b47f253)
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
2017-06-01 10:09:43 +02:00
..
amd radv: Reserve space for descriptor and push constant user SGPR setting. 2017-06-01 04:25:10 +02:00
compiler st/mesa: don't mark the program as in cache_fallback when there is cache miss 2017-06-01 04:25:10 +02:00
egl egl/android: fix segfault within swap_buffers 2017-06-01 10:09:43 +02:00
gallium freedreno: fix fence creation fail if no rendering 2017-06-01 04:25:10 +02:00
gbm configure: set HAVE_foo_PLATFORM as applicable 2017-05-31 22:32:02 +02:00
getopt
glx glxglvnddispatch: Add missing dispatch for GetDriverConfig 2017-05-18 17:57:52 +01:00
gtest gtest: Update to 1.8.0. 2017-01-20 11:40:52 -08:00
hgl glapi/hgl: remove the final user of _glapi_check_table() 2016-10-06 15:03:46 +01:00
intel anv: automake: list shared libraries after the static ones 2017-06-01 04:25:09 +02:00
loader loader: build libloader_dri3_helper.la only with HAVE_PLATFORM_X11 2017-05-31 22:32:03 +02:00
mapi glx: glX_proto_send.py: use correct compile guard GLX_INDIRECT_RENDERING 2017-05-08 11:24:04 +01:00
mesa r100: Use _mesa_get_format_base_format in radeon_update_wrapper 2017-06-01 10:09:43 +02:00
util Android: correct libz dependency 2017-05-18 18:01:44 +01:00
vulkan configure: check once for DRI3 dependencies 2017-05-31 22:32:03 +02:00
Makefile.am intel/vulkan: Get rid of recursive make 2017-03-13 11:16:35 +00:00
SConscript