i965: Support copy propagating of untyped atomic surface indexes.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 24 Sep 2017 19:42:52 +0000 (12:42 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 26 Sep 2017 22:35:14 +0000 (15:35 -0700)
commita553eb0fdfbf62a904abe28acc0339815fc3217a
tree6816b7c760e0d37e31fc8d4f987f909b6898ed32
parent66342c997fb7892034e537d1456c37e6981c2fdb
i965: Support copy propagating of untyped atomic surface indexes.

In the vec4 backend, SHADER_OPCODE_UNTYPED_ATOMIC's src[1] is the
surface index.  We want to copy propagate so we can use an immediate
message descriptor, rather than an indirect send.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/intel/compiler/brw_vec4_copy_propagation.cpp