summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_shader.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-10-18 11:22:43 -0700
committerKenneth Graunke <[email protected]>2017-10-19 10:19:20 -0700
commit3d112a7cd49656da3dde5f9b476b6ddc2d984528 (patch)
treec92d96c573f087a06a18f706ded0d5a1d34afe1b /src/intel/compiler/brw_shader.h
parent77b8392858815625ee7909cf9e866043dab9d074 (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.h')
-rw-r--r--src/intel/compiler/brw_shader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_shader.h b/src/intel/compiler/brw_shader.h
index 30e7bf75c58..d632f6dcd4e 100644
--- a/src/intel/compiler/brw_shader.h
+++ b/src/intel/compiler/brw_shader.h
@@ -167,6 +167,7 @@ struct backend_instruction {
bool no_dd_check:1;
bool saturate:1;
bool shadow_compare:1;
+ bool eot:1;
/* Chooses which flag subregister (f0.0 or f0.1) is used for conditional
* mod and predication.