diff options
author | Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> | 2019-08-28 10:56:52 +0200 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-09-04 11:57:07 -0700 |
commit | efa4aee99d918a0efaed798e7911f32f903cad23 (patch) | |
tree | ef889d9a61f895bd61a21577b7e9669c1a3c5e7e /.gitlab-ci.yml | |
parent | ec74c76a1a52c8536b85cbfcad851789b94979c2 (diff) |
glsl: replace 'x + (-x)' with constant 0
This fixes a hang in shadertoy for radeonsi where a buffer was initialized with:
value -= value
with value being undefined.
In this case LLVM replace the operation with an assignment to NaN.
Cc: 19.1 19.2 <mesa-stable@lists.freedesktop.org>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111241
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
(cherry picked from commit 47cc660d9c19572e5ef2dce7c8ae1766a2ac9885)
Diffstat (limited to '.gitlab-ci.yml')
0 files changed, 0 insertions, 0 deletions