Skip to content
Commit bb845df9 authored by Marek Olšák's avatar Marek Olšák Committed by Juan A. Suarez Romero
Browse files

st/mesa: fix 2 crashes in st_tgsi_lower_yuv



src/mesa/state_tracker/st_tgsi_lower_yuv.c:68: void reg_dst(struct
 tgsi_full_dst_register *, const struct tgsi_full_dst_register *, unsigned
 int): assertion "dst->Register.WriteMask" failed

The second crash was due to insufficient allocated size for TGSI
instructions.

Cc: 19.0 19.1 <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarRob Clark <robdclark@gmail.com>
(cherry picked from commit 83435e74)
parent f7c0ca6d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment