diff options
author | Samuel Pitoiset <samuel.pitoiset@gmail.com> | 2018-06-15 17:50:35 +0200 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2018-06-18 10:43:19 -0700 |
commit | c86a99adeff3ff3c1d3f2c9ce3ccfa122c54d7c7 (patch) | |
tree | d3c51007da19a530ef19b1dac54d3058f48e836d /src/amd/vulkan/radv_shader.c | |
parent | a4609fe84f6c773923e90b43ad7a2e17dfe56a7a (diff) |
radv: fix emitting the TCS regs on GFX9
The primitive ID is NULL and this generates an invalid
select instruction which crashes because one operand is NULL.
This fixes crashes in The Long Journey Home, Quantum Break
and Just Cause 3 with DXVK.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=106756
CC: <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
(cherry picked from commit 5917761e3dddc968d5ccac9b282b7cb8d3da866f)
Diffstat (limited to 'src/amd/vulkan/radv_shader.c')
0 files changed, 0 insertions, 0 deletions