The kill_emitted variable was duplicating the functionality of
gl_fragment_program::UsesKill. There's no need for both.
Reviewed-by: Eric Anholt <eric@anholt.net>
int first_non_payload_grf;
int max_grf;
int urb_setup[FRAG_ATTRIB_MAX];
- bool kill_emitted;
/** @{ debug annotation info */
const char *current_annotation;
assert(ir->condition == NULL); /* FINISHME */
emit(FS_OPCODE_DISCARD);
- kill_emitted = true;
}
void
* thread message and on all dual-source messages."
*/
if (intel->gen >= 6 &&
- !this->kill_emitted &&
+ !this->fp->UsesKill &&
!do_dual_src &&
c->key.nr_color_regions == 1) {
header_present = false;
this->virtual_grf_use = NULL;
this->live_intervals_valid = false;
- this->kill_emitted = false;
this->force_uncompressed_stack = 0;
this->force_sechalf_stack = 0;
}