diff options
author | Kenneth Graunke <[email protected]> | 2017-10-18 11:22:43 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-10-19 10:19:20 -0700 |
commit | 3d112a7cd49656da3dde5f9b476b6ddc2d984528 (patch) | |
tree | c92d96c573f087a06a18f706ded0d5a1d34afe1b /src/intel/compiler/brw_shader.cpp | |
parent | 77b8392858815625ee7909cf9e866043dab9d074 (diff) |
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 <[email protected]>
Tested-by: Pallavi G <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_shader.cpp')
-rw-r--r-- | src/intel/compiler/brw_shader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_shader.cpp b/src/intel/compiler/brw_shader.cpp index 53d0742d2e8..4eb602b000a 100644 --- a/src/intel/compiler/brw_shader.cpp +++ b/src/intel/compiler/brw_shader.cpp @@ -1000,7 +1000,7 @@ backend_instruction::has_side_effects() const case TCS_OPCODE_RELEASE_INPUT: return true; default: - return false; + return eot; } } |