mesa/src
Neha Bhende b5e782f5f4 aux/draw: use nir_to_tgsi for draw shader in llvm path
Some drivers doesn't support PIPE_SHADER_CAP_INTEGERS.
This leads to using load_ubo_vec4 which throws llvmpipe off the guard since
it doesn't expect load_ubo_vec4 in shader. Use nir_to_tgsi utility in
such a case.

This fixes crash seen with conform's mustpass.c, select.c and feedback.c.
Also, few gl-select related piglit tests exhibit same crash. Found in vmware's
internal testing

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Reviewed-by: Emma Anholt <emma@anholt.net>

v2: incorporated Emma's comments. Added check for PIPE_SHADER_CAP_INTEGERS and
remove PIPE_SHADER_IR_TGSI check

v3: As per Emma's comment, removed expected crashes for i915 piglit

v4: update expetcted passes

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11911>
2021-07-20 19:05:30 +00:00
..
amd aco/optimizer: ensure to not erase high bits when propagating packed constants 2021-07-20 07:48:39 +00:00
android_stub egl/android: refactor to use the legit vndk/window.h header 2021-06-09 21:07:54 +00:00
asahi agx: Flip point coordinates because OpenGL 2021-07-11 22:32:41 +00:00
broadcom broadcom: don't define internal BPP values twice 2021-07-20 12:06:56 +00:00
compiler nir/lower_point_size_mov: zero nir_state_slot::swizzle in new variable 2021-07-20 16:34:51 +00:00
drm-shim drm-shim: fix compile with glibc >= 2.33 2021-04-20 05:49:29 +00:00
egl egl/android: restore image creation fallback path used by virgl 2021-07-09 16:18:23 +00:00
etnaviv android: Drop the Android.mk build system 2021-07-08 14:44:02 -05:00
freedreno freedreno/ir3: Reduce choose_instr_dec() and _inc() overhead. 2021-07-19 23:16:54 +00:00
gallium aux/draw: use nir_to_tgsi for draw shader in llvm path 2021-07-20 19:05:30 +00:00
gbm gbm/dri: Fix leaking bo memory on failure path 2021-07-13 11:15:44 +00:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx glx/drisw: Nerf PutImage when loaderPrivate == NULL 2021-07-15 15:10:17 +00:00
gtest
hgl
imgui
intel anv: fix feature/property/sizes reported for fragment shading rate 2021-07-17 00:46:54 +00:00
loader loader: Handle failure to load DRI driver library 2021-07-13 07:36:17 +00:00
mapi glthread: use custom marshal/unmarshal for CallList 2021-07-09 10:05:46 +00:00
mesa st/mesa: always use PIPE_USAGE_STAGING for GL_MAP_READ_BIT usage 2021-07-20 09:49:16 +00:00
microsoft nir: Drop nir_ssa_def::name and nir_register::name 2021-07-08 17:34:41 +00:00
nouveau
panfrost pan/bi: Shrink live array to 8-bits 2021-07-18 01:49:26 +00:00
tool pps: Panfrost pps driver 2021-07-13 11:03:55 +00:00
util v3d/driconf: Expose non-MSAA texture limits for mutter and gnome-shell 2021-07-19 11:56:45 +00:00
virtio venus: refactor vn_EndCommandBuffer 2021-07-15 00:52:43 +00:00
vulkan wl/shm: don't fetch formats if not requested. 2021-07-20 05:03:04 +10:00
meson.build panfrost: Add a Vulkan driver for Midgard/Bifrost GPUs 2021-06-22 14:07:34 +00:00