OSDN Git Service

Revert "nir/copy_propagate: do not copy-propagate MOV srcs with source modifiers"
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 13 Nov 2015 07:51:06 +0000 (08:51 +0100)
committerIago Toral Quiroga <itoral@igalia.com>
Fri, 13 Nov 2015 07:53:10 +0000 (08:53 +0100)
commita29d922c1a19ecebb7c274f31248b00086cb4733
tree71e04ad21dcfc64c6d8d76004c35bc26a35ca054
parent5f004fd1970338c9a1db51b421ae0f6f687661d9
Revert "nir/copy_propagate: do not copy-propagate MOV srcs with source modifiers"

The change proposed in the review leads to piglit regressions because
is_move() is used in other places and relies on the checks for source
modifiers to be there.

Revert this until we agree on a better solution.
src/glsl/nir/nir_opt_copy_propagate.c