OSDN Git Service

intel/fs: Fix bug in lower_simd_width while splitting an instruction which was alread...
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 7 Dec 2018 22:15:50 +0000 (14:15 -0800)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 11 Jan 2019 19:19:09 +0000 (19:19 +0000)
commit7d5057bfe4ea630d18752a67d9dd69b90a17be66
tree7b8b1d2b858654606526ff4dd055310b5b3e5ce4
parent9d8479d632884cf0c63596f253511f07cb74f43d
intel/fs: Fix bug in lower_simd_width while splitting an instruction which was already split.

This seems to be a problem in combination with the lower_regioning
pass introduced by a future commit, which can modify a SIMD-split
instruction causing its execution size to become illegal again.  A
subsequent call to lower_simd_width() would hit this bug on a future
platform.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
(cherry picked from commit bc781a0323d719634e29d82b5f14e22db943536e)
src/intel/compiler/brw_fs.cpp