mesa/src
Pierre-Eric Pelloux-Prayer 12fb7d7008 mesa: add gl_coontext::ForceIntegerTexNearest
Some applications incorrectly use GL_LINEAR* values for integers texture.
copyimage.c already implemented a tolerance for such app in prepare_target_err.

This commit adds a boolean that will treat GL_LINEAR* filters as
GL_NEAREST for integer textures.

CC: 20.1 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4647>
2020-05-05 09:40:29 +02:00
..
amd aco: remove unecessary p_split_vector with v2b reg class 2020-05-05 08:50:10 +02:00
broadcom drm-shim: Let the driver choose to overwrite the first render node. 2020-04-23 17:54:54 +00:00
compiler vtn/opencl: native sqrt support 2020-05-04 11:31:29 +00:00
drm-shim drm-shim: silence warnings 2020-04-30 11:32:54 +03:00
egl egl/wayland: Fix zwp_linux_dmabuf usage 2020-04-29 11:29:40 +01:00
etnaviv drm-shim: Let the driver choose to overwrite the first render node. 2020-04-23 17:54:54 +00:00
freedreno turnip: Remove RANGE_SIZE usage 2020-05-05 00:28:00 +00:00
gallium android: iris: add iris_seqno.{c,h} to Makefile.sources 2020-05-04 22:33:04 +02:00
gbm gbm/dri: Propagate queryDmaBufModifiers return value 2020-04-16 10:19:35 +00:00
getopt meson: build getopt when using msvc 2019-09-10 20:36:47 +00:00
glx glx: omit loader_loader() for macOS 2020-04-15 11:37:21 +00:00
gtest gtest: Update to 1.10.0 2020-04-20 11:57:11 +00:00
hgl scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00
imgui meson: drop intel_ prefix on imgui_core 2019-12-10 15:16:02 +00:00
intel anv: Remove RANGE_SIZE usage 2020-05-05 00:27:59 +00:00
loader loader: fallback to kernel name, if PCI fails 2020-04-01 16:57:22 +01:00
mapi glthread: upload non-VBO vertices and indices for non-Indirect non-IBM draws 2020-04-30 22:01:55 +00:00
mesa mesa: add gl_coontext::ForceIntegerTexNearest 2020-05-05 09:40:29 +02:00
panfrost pan/bit: Add IMATH packing tests 2020-05-04 18:45:15 +00:00
util util/simple_mtx: add assert_locked() 2020-04-29 20:37:00 +00:00
vulkan vulkan: Update Vulkan XML and headers to 1.2.140 2020-05-05 00:28:00 +00:00
meson.build remove final imports.h and imports.c bits 2020-04-21 11:09:04 -07:00
SConscript scons: Prune out unnecessary targets. 2020-03-30 13:38:01 +00:00