mesa/src
Jason Ekstrand 26b4f8a266 i965/screen: Allow modifiers on sRGB formats
This effectively reverts a266934935 which
was a misguided attempt at protecting intel_query_dma_buf_modifiers from
invalid formats.  Unfortunately, in some internal EGL cases, we can get
an SRGB format validly in this function.  Rejecting such formats caused
us to not allow CCS in some cases where we should have been allowing it.
This regressed the performance of some SynMark tests as well as GfxBench
ALU2, Tessellation and Manhattan 3.0 tests

There's some question of whether or not we really should be using SRGB
"fourcc" formats that aren't actually in drm_foucc.h but there's not
much harm in allowing them through here.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107223
Fixes: a266934935 "i965/screen: Return false for unsupported..."
Tested-By: Eero Tamminen <eero.t.tamminen@intel.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
(cherry picked from commit d9cf4308ce)
2018-09-01 02:10:02 +03:00
..
amd radv: Add missing checks in radv_get_image_format_properties. 2018-08-30 16:01:45 +03:00
broadcom v3d: Emit the VCM_CACHE_SIZE packet. 2018-08-07 20:55:09 +03:00
compiler glsl/linker: Link all out vars from a shader objects on a single stage 2018-08-30 16:01:18 +03:00
egl egl/dri2: Guard against invalid fourcc formats 2018-09-01 02:09:54 +03:00
gallium egl/dri2: Guard against invalid fourcc formats 2018-09-01 02:09:54 +03:00
gbm gbm: Add support for 10bpp BGR formats 2018-08-01 12:55:37 +01:00
getopt
glx glx: GLX_MESA_multithread_makecurrent is direct-only 2018-08-10 15:29:09 +03: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 anv: blorp: support multiple aspect blits 2018-08-30 15:57:08 +03:00
loader loader_dri3: Handle mismatched depth 30 formats for Prime renderoffload. 2018-08-01 12:55:37 +01:00
mapi glapi: actually implement GL_EXT_robustness for GLES 2018-08-24 00:21:44 +03:00
mesa i965/screen: Allow modifiers on sRGB formats 2018-09-01 02:10:02 +03:00
util meson: Actually load translation files 2018-08-29 17:19:28 +03:00
vulkan vulkan/alloc: Add a vk_strdup helper 2018-08-30 15:57:08 +03:00
git_sha1.h.in meson: Build i965 and dri stack 2017-10-09 13:42:44 -07:00
Makefile.am egl: rewire the build systems to use libwayland-egl 2018-06-06 12:11:57 -07:00
meson.build v3d: Fix meson build without vc4. 2018-07-29 19:22:33 -07:00
SConscript buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00