mesa/src
Lionel Landwerlin 9bfe45edbe intel/fs: fix subgroup invocation read bounds checking
nir->info.subgroup_size can be set to an enum :
  SUBGROUP_SIZE_VARYING = 0
  SUBGROUP_SIZE_UNIFORM = 1
  SUBGROUP_SIZE_API_CONSTANT = 2
  SUBGROUP_SIZE_FULL_SUBGROUPS = 3

So compute the API subgroup size value and compare it to the dispatch
size to determine whether we need some bound checking.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 9ac192d79d ("intel/fs: bound subgroup invocation read to dispatch size")
Reviewed-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21856>
(cherry picked from commit 56474fae93)
2023-03-27 15:07:14 -07:00
..
amd radv/rt: Fix any_hit scratch variables. 2023-03-27 15:07:14 -07:00
android_stub
asahi agx: Don't crash trying to encoding minifloats 2023-01-11 21:14:21 +00:00
broadcom v3dv: ensure we apply binning syncs to secondary command buffers 2023-02-07 14:23:33 -08:00
c11 c11: Remove _MTX_INITIALIZER_NP for windows 2022-11-09 04:38:28 +00:00
compiler nir/algebraic: remove duplicate bool conversion lowerings 2023-03-27 14:06:51 -07:00
drm-shim drm-shim: Use hide_drm_device_path() to hide other drm devices 2022-12-30 15:51:11 -08:00
egl yegl/wayland: fix glthread deadlocks 2023-03-27 14:06:54 -07:00
etnaviv etnaviv: drm: fix check if BO is on a deferred destroy list 2023-01-31 10:29:04 -08:00
freedreno nir/algebraic: insert patterns inside optimizations list 2023-03-27 09:49:51 -07:00
gallium d3d12: Fix video decode for interlaced streams with reference only textures required 2023-03-24 16:08:49 -07:00
gbm gbm/backend: fix gbm compile without dri 2023-02-16 09:10:45 -08:00
getopt
glx glx: Fix glXGetFBConfigFromVisualSGIX 2023-03-20 11:49:41 -07:00
gtest
hgl
imagination pvr: Remove PVR_STATIC_CLEAR_.*_BIT and use VkImageAspectFlags. 2023-01-04 16:30:39 +00:00
imgui
intel intel/fs: fix subgroup invocation read bounds checking 2023-03-27 15:07:14 -07:00
loader loader: do not check the mesa DRI_Mesa version if it was not found 2023-02-22 10:12:12 -08:00
mapi glapi/meson: drop duplicate line in deps 2023-02-28 09:48:59 -08:00
mesa mesa: fix glPopClientAttrib with fixed-func VP and zero-stride varyings 2023-03-15 13:04:32 -07:00
microsoft microsoft/clc: Set features that are used by CL tests 2023-02-22 23:33:44 +00:00
nouveau nir: Eliminate nir_op_i2b 2022-12-14 06:23:21 +00:00
panfrost panfrost: fix tiny sample_positions BO memory leak 2023-02-17 11:06:49 -08:00
tool pps: Fix build errors. 2023-03-27 14:06:52 -07:00
util Revert "driconf: add a workaround for plasmashell freezing" 2023-03-27 14:06:56 -07:00
virtio venus: fix VK_EXT_image_view_min_lod feature query 2023-03-15 13:04:22 -07:00
vulkan vulkan/wsi: fix crash in failed swapchain creation for wayland 2023-03-24 10:36:23 -07:00
meson.build meson: build radeon drm-shim also for r300 and r600 2022-11-16 14:37:47 +00:00