mesa/src
Iago Toral Quiroga add8778638 v3dv: ignore stencil load operation if attachment format doesn't have stencil
This gets vkQuake to render correctly, which creates render passes with
stencil load operations even when the depth/stencil attachment format
doesn't have a stencil aspect. While this is a bit weird, it seems to
be allowed by the spec:

   "If the format has depth and/or stencil components, loadOp and storeOp
    apply only to the depth data, while stencilLoadOp and stencilStoreOp
    define how the stencil data is handled."

In our case we were not ignoring it and this was causing that we emitted a
Z buffer load that seemed to clobber the Z clear, preventing all draw calls
from passing the depth test.

While we are at it, also change the depth/stencil store operation (which
was already handling this scenario correctly) to use the format of the
render pass attachment description rather than the underlying image
format.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
2020-10-13 21:21:32 +00:00
..
amd aco: fix get_ssbo_size with a vgpr resource 2020-10-13 14:20:28 +00:00
android_stub mesa: Make the android_stub be a set of non-installed shared libraries. 2020-09-22 17:09:22 +00:00
broadcom v3dv: ignore stencil load operation if attachment format doesn't have stencil 2020-10-13 21:21:32 +00:00
compiler nir: include texture query lod as one of the ops that requires a sampler 2020-10-13 21:21:31 +00:00
drm-shim drm-shim: Fix unused variable warnings from asserts in release build. 2020-08-28 22:45:08 +00:00
egl egl/android: HAVE_DRM_GRALLOC path fixes (v2) 2020-09-07 23:33:15 +02:00
etnaviv etnaviv: replace all dup() with os_dupfd_cloexec() 2020-06-18 02:09:56 +00:00
freedreno turnip: Add support for GetSwapchainGrallocUsage2ANDROID(). 2020-10-08 21:04:01 +00:00
gallium v3d/compiler: num_tex_used on v3d_key 2020-10-13 21:21:25 +00:00
gbm gallium: rename pipe_transfer_usage -> pipe_map_flags 2020-09-22 03:20:54 +00:00
getopt
glx glx: Allow depth-30 pbuffers to work without a depth-30 pixmap format 2020-09-17 14:28:24 -04: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
intel radv/aco,nir/lower_subgroups: don't lower elect 2020-10-13 12:47:20 +00:00
loader driconf: Make the driver's declarations be structs instead of XML. 2020-10-02 23:59:52 +00:00
mapi glthread: handle glInterleavedArrays 2020-10-07 09:50:18 -04:00
mesa glsl: Initialize ir_to_mesa_visitor members in constructor. 2020-10-13 21:07:24 +00:00
panfrost pan/bi: Range check newc/oldc when rewriting 2020-10-10 17:15:03 -04:00
util util/xmlconfig: Initialize xmlconfig member options in constructor. 2020-10-13 13:34:53 -07:00
virtio virgl: update protocol headers 2020-08-21 18:38:44 +00:00
vulkan vulkan/wsi/display: add option for display fence to signal syncobj 2020-09-24 13:20:00 +00:00
meson.build v3dv: add v3d vulkan driver skeleton 2020-10-13 21:21:24 +00:00
SConscript driconf: drop now unused translation facility 2020-06-22 21:50:12 +00:00