mesa/src
José Roberto de Souza 4f44c47db8 intel/aux_map: Mask out bits above index 47 in intel_aux_get_meta_address_mask()
The bits above index 47 in l1 entry are used to define format,
depth and luminance.
aux_address is formated as canonical, so bits above 47 could all be
set to 1 causing wrong values being set to format, depth and luminance.

intel_aux_get_meta_address_mask() was previously using 2 shifts to
mask out bits above index 47, what is not so obvious and are 2
operations, so here doing a AND with VALID_ADDRESS_MASK to make it
easier to understand.

Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24077>
2023-07-19 16:53:59 +00:00
..
amd ci: move amd files rules to src/amd/ci/gitlab-ci.yml 2023-07-18 23:07:52 +00:00
android_stub util/log: improve logger_android 2023-02-22 17:55:40 +00:00
asahi asahi: Use txf_ms for MSAA background programs 2023-07-05 05:11:49 +00:00
broadcom ci: move broadcom files rules to src/broadcom/ci/gitlab-ci.yml 2023-07-18 23:07:52 +00:00
c11 treewide: Replace the usage of TRUE/FALSE with true/false 2023-06-27 18:18:28 +08:00
compiler glsl: fix validation of ES vertex attribs 2023-07-19 00:43:26 +00:00
drm-shim drm-shim: Avoid assertion fail if someone does close(-1). 2023-06-01 01:50:41 +00:00
egl egl/wayland: wait for compositor to release shm buffers 2023-07-19 15:11:46 +00:00
etnaviv ci: move etnaviv files rules to src/etnaviv/ci/gitlab-ci.yml 2023-07-18 23:07:51 +00:00
freedreno ci: move freedreno files rules to src/freedreno/ci/gitlab-ci.yml 2023-07-18 23:07:51 +00:00
gallium etnaviv: initialize VIVS_GL_BUG_FIXES 2023-07-19 16:35:04 +00:00
gbm gbm: drop unnecessary vulkan dependency 2023-02-23 18:31:22 +00:00
getopt
glx glx: Assign unique serial number to GLXBadFBConfig error 2023-07-15 03:27:17 +00:00
gtest gtest: Update to 1.13.0 2023-05-14 11:09:02 +00:00
imagination pvr: Fix writing query availability write out 2023-07-19 12:22:30 +00:00
imgui
intel intel/aux_map: Mask out bits above index 47 in intel_aux_get_meta_address_mask() 2023-07-19 16:53:59 +00:00
loader dri3: only invalidate drawables on geometry change if geometry has changed 2023-06-15 12:22:24 +00:00
mapi mapi: Remove dead struct _glapi_function in glapi/glapi_getproc.c 2023-06-29 01:36:09 +00:00
mesa mesa: fix 38% decrease in display list performance of Viewperf2020/NX8_StudioAA 2023-07-17 15:36:47 +00:00
microsoft ci: move microsoft files rules to src/microsoft/ci/gitlab-ci.yml 2023-07-18 23:07:52 +00:00
nouveau nv50/ir: Remove SpillSlot 2023-07-19 11:47:10 +00:00
panfrost ci: move panfrost files rules to src/panfrost/ci/gitlab-ci.yml 2023-07-18 23:07:52 +00:00
tool meson: remove needless c++17-overrides 2023-05-19 12:45:31 +00:00
util util/u_queue: always enable UTIL_QUEUE_INIT_SCALE_THREADS, remove the flag 2023-07-18 11:11:12 -04:00
virtio virgl: Add vp9 picture desc 2023-07-19 07:06:38 +00:00
vulkan vulkan: Add helpers for blend enum translation 2023-07-13 21:03:32 +00:00
.clang-format clang-format: add wayland foreach macros 2023-07-07 23:00:06 +00:00
meson.build lavapipe: Include llvmpipe 2023-06-30 12:56:35 +00:00