diff options
author | Kenneth Graunke <[email protected]> | 2014-05-27 22:49:57 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-06-02 15:09:21 -0700 |
commit | 8deb91b2e75a65b979bd9d70c8700d2c38443336 (patch) | |
tree | 8138364f69efc154086bd2a12489349a18b532de /src/mesa/drivers/dri/i965/brw_eu.h | |
parent | 3769a2d51f593b94638743e4a174ee5b8a3d5406 (diff) |
i965: Make brw_JMPI set predicate_control based on a parameter.
We use both predicated and unconditional JMPI instructions. But in each
case, it's clear which we want. It's simpler to just specify it as a
parameter, rather than relying on default state.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_eu.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_eu.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu.h b/src/mesa/drivers/dri/i965/brw_eu.h index fb64bc5c4cf..baa135ba0f8 100644 --- a/src/mesa/drivers/dri/i965/brw_eu.h +++ b/src/mesa/drivers/dri/i965/brw_eu.h @@ -335,7 +335,8 @@ struct brw_instruction *brw_CONT(struct brw_compile *p); struct brw_instruction *gen6_CONT(struct brw_compile *p); struct brw_instruction *gen6_HALT(struct brw_compile *p); -struct brw_instruction *brw_JMPI(struct brw_compile *p, struct brw_reg index); +struct brw_instruction *brw_JMPI(struct brw_compile *p, struct brw_reg index, + unsigned predicate_control); void brw_NOP(struct brw_compile *p); |