mesa/src
Alyssa Rosenzweig befc68ec33 nir/opt_shrink_vectors: Round to supported vec size
The set of supported vector sizes in NIR has holes in it. For example, we
support vec5 and vec8, but not vec6 or vec7. However, this pass did not take
that into account, and would happily shrink a vec8 down to a vec7, causing NIR
validation to fail. Instead, the pass should round up to the next supported
vector size.

Fixes NIR validation fail in OpenCL's test_basic hiloeo subtest.

v2: Clamp -> round rename.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17194>
2022-07-10 18:03:46 +00:00
..
amd ac/surface: expose all 64K_R_X and 256K_R_X modifiers on gfx11 2022-07-09 21:00:51 +00:00
android_stub
asahi panfrost,asahi: Use util_sign_extend for unpacking 2022-07-06 11:23:18 +00:00
broadcom vc4: Add notes on the remaining dEQP failures. 2022-07-10 02:50:09 +00:00
c11 c11: reinstate the original license and authorship 2022-06-27 11:46:22 +00:00
compiler nir/opt_shrink_vectors: Round to supported vec size 2022-07-10 18:03:46 +00:00
drm-shim drm-shim: Cleanup on device file close 2022-05-02 19:50:33 +00:00
egl egl/wayland: Don't try to access modifiers u_vector as dynarray 2022-06-23 16:12:15 +00:00
etnaviv etnaviv: drm: rename etna_drm_table_lock 2022-07-03 17:41:55 +00:00
freedreno Add Adreno 616 and 620 to use turnip on these GPU's . 2022-07-10 15:36:52 +00:00
gallium mesa: fix SignalSemaphoreEXT behavior 2022-07-10 16:15:17 +00:00
gbm gallium: Learn about kopper 2022-04-07 00:17:40 +00:00
getopt
glx glx/dri: Fix DRI drawable release at MakeCurrent time 2022-06-27 20:03:26 +00:00
gtest gtest: Fix maybe-uninitialized compiler warning 2022-06-29 21:02:18 +00:00
hgl
imagination pvr: Rename loop iterator variable. 2022-06-24 09:15:53 +00:00
imgui
intel intel/compiler: Don't set SBID on EOT send messages 2022-07-09 05:26:25 +00:00
loader gallium/dri: add missing PIPE_BIND_DRI_PRIME handling 2022-02-08 00:13:07 +00:00
mapi meson: Using get_argument_syntax as the --compiler_id option for gen_vs_module_defs.py 2022-06-16 19:59:58 +00:00
mesa mesa: fix SignalSemaphoreEXT behavior 2022-07-10 16:15:17 +00:00
microsoft dzn: Use fabs on floating point input 2022-07-09 14:04:48 +00:00
nouveau nouveau: Drop C++03 compat code 2022-07-05 13:23:12 +00:00
panfrost panfrost/ci: Disable T760 jobs 2022-07-08 21:33:19 +00:00
tool meson/pps: Check if libdrm exists to compile pps 2022-06-22 11:52:36 +03:00
util util: remove now unused debug_assert 2022-07-10 00:50:35 +00:00
virtio venus: Use maintenance4 to get max_size_buffer 2022-07-08 04:27:51 +00:00
vulkan vulkan: Add a vk_pipeline_shader_stage_is_null() helper 2022-07-08 22:47:22 +00:00
meson.build meson: Use cc.get_argument_syntax instead cc.get_id when possible. 2022-06-16 19:59:58 +00:00