mesa/src
Boris Brezillon c49f221888 pan/blit: Fix 3D blittering
Fixes several problems in the pan_blit() logic:

1. We actually need the reciprocal of the depth scaling in z_scale (maybe
   we should rename this field z_scale_rcp to make it clear)

2. When Z end < Z start we should remove one to the cur_layer/layer_offset
   instead of doing it on the last_layer field, otherwise there's an
   off-by-one error

3. The Z src offset should be adjusted to account for scaling. If we don't
   do that we won't sample from the right layer when upscaling.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12961>
2021-09-27 07:45:41 +00:00
..
amd ac/surface: correct a comment about DCC image stores 2021-09-25 08:49:05 +00:00
android_stub egl/android: refactor to use the legit vndk/window.h header 2021-06-09 21:07:54 +00:00
asahi nir: add indirect loop unrolling to compiler options 2021-08-03 10:54:50 +00:00
broadcom broadcom/compiler: remove qpu_acc helper 2021-09-24 08:46:06 +00:00
compiler spirv: don't fail on CapabilitySubgroupDispatch if supported 2021-09-24 20:23:14 +00:00
drm-shim drm-shim: Support kernels with >4k pages 2021-08-13 23:33:52 +00:00
egl egl: Update Windows .def to include missing exports 2021-09-16 17:38:58 +00:00
etnaviv mesa: Prioritize checking for GLES2's uniform transpose error. 2021-09-21 23:06:42 +00:00
freedreno turnip: Swizzle in 0, 1 for D24S8 STENCIL_ASPECT sampling. 2021-09-24 19:26:57 +00:00
gallium lima: Fix glFrontFace handling 2021-09-27 09:24:32 +02:00
gbm gbm/dri: implement image lookup extension version 2 2021-09-09 01:42:39 +00:00
getopt
glx glx: Prevent crashes when an extension isn't found 2021-09-08 11:46:51 +00:00
gtest
hgl
imgui
intel spirv: don't fail on CapabilitySubgroupDispatch if supported 2021-09-24 20:23:14 +00:00
loader driconfig: Add support for device specific config 2021-08-02 16:37:24 -07:00
mapi mesa: GL_ARB_ES3_2_compatibility GL compat profile support 2021-09-23 11:10:23 +00:00
mesa mesa: GL_ARB_ES3_2_compatibility GL compat profile support 2021-09-23 11:10:23 +00:00
microsoft clc: use the defined version for the parser 2021-09-24 12:33:19 +00:00
nouveau
panfrost pan/blit: Fix 3D blittering 2021-09-27 07:45:41 +00:00
tool pps: Panfrost pps driver 2021-07-13 11:03:55 +00:00
util vulkan: Add vk_asprintf and vk_vasprintf helpers 2021-09-23 21:14:32 +00:00
virtio venus: separate physical device init and filter 2021-09-09 20:07:18 +00:00
vulkan vulkan: Update the XML and headers to 1.2.193 2021-09-24 17:55:10 +00:00
meson.build meson: Include EGL after gallium 2021-09-15 20:17:31 +00:00