mesa/src
Erik Faye-Lund 2906c468c1 mesa: support dummy queries for ARB_pipeline_statistics_query
Similar to ARB_occlusion_query / ARB_occlusion_query2, this extension
allows zero bits for the queries, meaning there's no actual hardware
requirements here.

So let's just report zero bits if the driver doesn't support the CAP,
and treat these queries as dummies like we already do for occlusion
queries.

We still don't expose the extension, this is just to make it possible to
allow the core OpenGL functionality without exposing the extension.

Reviewed-by: Soroush Kashani <soroush.kashani@imgtec.com>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19750>
2022-11-25 06:50:59 +00:00
..
amd ac/nir: Avoid data race with task shader payloads. 2022-11-24 13:18:37 +00:00
android_stub
asahi agx: Fix signedness issues packing 2022-11-24 23:37:48 +00:00
broadcom v3dv: specialize query copy pipelines 2022-11-24 12:21:59 +00:00
c11 c11: Remove _MTX_INITIALIZER_NP for windows 2022-11-09 04:38:28 +00:00
compiler nir/divergence: add missing btd_shader_type_intel 2022-11-23 15:04:22 +00:00
drm-shim drm-shim: drop gnu99 override 2022-09-16 02:06:38 +00:00
egl egl: Fix uninitialized variable warning 2022-11-22 01:54:51 +00:00
etnaviv tree-wide: Use __func__ instead of __FUNCTION__ in non-gallium code 2022-11-22 06:53:46 +00:00
freedreno freedreno/replay: Add option to replay specific range of cmdstreams 2022-11-23 20:12:08 +00:00
gallium agx: Use default SHAREABLE_SHADERS 2022-11-24 23:37:48 +00:00
gbm utils: Merge util/debug.* into util/u_debug.* and remove util/debug.* 2022-11-02 07:25:39 +00:00
getopt
glx Revert "egl/glx: add fallback for zink loading" 2022-11-17 01:08:33 +00:00
gtest
hgl
imagination pvr: Minor cleanup around pvr_emit_vdm_index_list() 2022-11-18 11:46:14 +00:00
imgui
intel anv: Conditionally expose VK_KHR_present_wait on ANV. 2022-11-23 19:06:12 +00:00
loader loader/dri3: Add DRI performance option to wait for next buffer on swap 2022-10-25 08:30:35 +00:00
mapi mapi: update gles 1.1 extention packet link 2022-11-20 15:14:01 +00:00
mesa mesa: support dummy queries for ARB_pipeline_statistics_query 2022-11-25 06:50:59 +00:00
microsoft microsoft/nir_to_dxil: Avoid emitting SampleCmpLevel prior to SM 6.7 if possible 2022-11-22 16:49:36 +00:00
nouveau drm-shim/nouveau: fix the shim to work with nvif ioctl. 2022-11-09 21:21:22 +00:00
panfrost panfrost: Revert "Require 64-byte alignment on imports" 2022-11-24 23:46:55 +00:00
tool pps: make pps-producer RT only on freedreno 2022-11-15 21:21:42 +00:00
util util: Rename PIPE_CDECL to UTIL_CDECL and moved into util/macros.h 2022-11-24 06:21:39 +00:00
virtio venus: enable VK_KHR_push_descriptor 2022-11-23 01:21:34 +00:00
vulkan wsi/x11: Rewrite wait logic for ANI/WaitForPresentKHR. 2022-11-23 19:06:12 +00:00
meson.build meson: build radeon drm-shim also for r300 and r600 2022-11-16 14:37:47 +00:00