summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/xdri
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <[email protected]>2019-08-28 10:56:52 +0200
committerJuan A. Suarez Romero <[email protected]>2019-08-30 07:39:55 +0000
commit52aea45dbcacdc5fc974432e62b548d19f06e9bf (patch)
tree6d41587ebe342919960c6700cafd8f2602a05594 /src/egl/drivers/xdri
parent938adab8ea75dd473440efa8e7e8719982065eb1 (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 <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111241 Reviewed-by: Marek Olšák <[email protected]> (cherry picked from commit 47cc660d9c19572e5ef2dce7c8ae1766a2ac9885)
Diffstat (limited to 'src/egl/drivers/xdri')
0 files changed, 0 insertions, 0 deletions