From 46e5b2a497216133be656b38ebfcf96da64b7744 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sun, 29 Jun 2014 17:50:20 -0700 Subject: i965: Make a brw_conditional_mod enum. Reviewed-by: Topi Pohjolainen --- src/mesa/drivers/dri/i965/brw_eu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/i965/brw_eu.h') diff --git a/src/mesa/drivers/dri/i965/brw_eu.h b/src/mesa/drivers/dri/i965/brw_eu.h index 59b9232feed..48ef2984f9b 100644 --- a/src/mesa/drivers/dri/i965/brw_eu.h +++ b/src/mesa/drivers/dri/i965/brw_eu.h @@ -320,7 +320,7 @@ void brw_shader_time_add(struct brw_compile *p, * channel. */ brw_inst *brw_IF(struct brw_compile *p, unsigned execute_size); -brw_inst *gen6_IF(struct brw_compile *p, uint32_t conditional, +brw_inst *gen6_IF(struct brw_compile *p, enum brw_conditional_mod conditional, struct brw_reg src0, struct brw_reg src1); void brw_ELSE(struct brw_compile *p); @@ -404,7 +404,7 @@ void brw_set_src1(struct brw_compile *p, brw_inst *insn, struct brw_reg reg); void brw_set_uip_jip(struct brw_compile *p); -uint32_t brw_swap_cmod(uint32_t cmod); +enum brw_conditional_mod brw_swap_cmod(uint32_t cmod); /* brw_eu_compact.c */ void brw_init_compaction_tables(struct brw_context *brw); -- cgit v1.2.3