mesa/src
Neil Roberts 82a363b851 i965: Handle lum, intensity and missing components in the fast clear
It looks like the sampler hardware doesn't take into account the
surface format when sampling a cleared color after a fast clear has
been done. So for example if you clear a GL_RED surface to 1,1,1,1
then the sampling instructions will return 1,1,1,1 instead of 1,0,0,1.
This patch makes it override the color that is programmed in the
surface state in order to swizzle for luminance and intensity as well
as overriding the missing components.

Fixes the ext_framebuffer_multisample-fast-clear Piglit test.

v2: Handle luminance and intensity formats
Reviewed-by: Ben Widawsky <benjamin.widawsky@intel.com>
(cherry picked from commit 2010de4015)
2015-11-30 00:13:23 +00:00
..
egl egl: don't forget to ship platform_x11_dri3.h into the tarball 2015-11-20 18:08:04 +00:00
gallium radeon/vce: disable Stoney VCE for 11.0 2015-11-30 00:13:23 +00:00
gbm gbm.h: Add a missing stddef.h include for size_t. 2015-10-30 19:12:14 +00:00
getopt
glsl nir: Add support for gl_HelperInvocation system value. 2015-11-20 17:39:33 -08:00
glx glx/dri3: Convert to use dri3 helper in loader library 2015-11-17 17:26:20 +02:00
gtest mesa: Enable subdir-objects globally. 2015-06-26 12:55:25 +01:00
hgl glapi/hgl: Drop extern "C" as it was added to glapi 2015-05-13 15:26:29 -04:00
loader loader: unconditionally add AM_CPPFLAGS to libloader_la_CPPFLAGS 2015-11-29 17:56:36 +00:00
mapi glapi: add EXT_blend_func_extended XML definitions 2015-11-19 11:39:51 -05:00
mesa i965: Handle lum, intensity and missing components in the fast clear 2015-11-30 00:13:23 +00:00
util ralloc: Set *start in ralloc_vasprintf_rewrite_tail() if str is NULL. 2015-11-12 11:00:10 -08:00
Makefile.am glsl: move shader_enums into nir 2015-10-09 15:03:28 -04:00
SConscript scons: rework the EGL build 2015-07-22 16:35:27 +01:00