i965: Move fs_inst::has_side_effects()'s eot check to the parent class.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 18 Oct 2017 18:22:43 +0000 (11:22 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 19 Oct 2017 17:19:20 +0000 (10:19 -0700)
commit3d112a7cd49656da3dde5f9b476b6ddc2d984528
treec92d96c573f087a06a18f706ded0d5a1d34afe1b
parent77b8392858815625ee7909cf9e866043dab9d074
i965: Move fs_inst::has_side_effects()'s eot check to the parent class.

This eliminates a layer of wrapping, and makes a backend_instruction
sufficient.  The downside is that it exposes 'eot' to the vec4 backend,
which it doesn't need, but can basically happily ignore.

Reviewed-by: Matt Turner <mattst88@gmail.com>
Tested-by: Pallavi G <pallavi.g@intel.com>
src/intel/compiler/brw_fs.cpp
src/intel/compiler/brw_ir_fs.h
src/intel/compiler/brw_shader.cpp
src/intel/compiler/brw_shader.h
src/intel/compiler/brw_vec4_visitor.cpp