diff options
author | Eric Engestrom <[email protected]> | 2019-06-22 18:11:44 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-07-31 09:41:05 +0100 |
commit | 644cca65d386ad71296962a539fc36bc146bca38 (patch) | |
tree | 091797ddc844e285449ef58aebe81d18cf1e8429 | |
parent | 7a3fb146095b6215e365011c25688ca354159b03 (diff) |
i965: drop unused MAYBE_UNUSED function
Added in 1b85c605a60a80975460 but never used.
Cc: Jordan Justen <[email protected]>
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
-rw-r--r-- | src/mesa/drivers/dri/i965/genX_state_upload.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/mesa/drivers/dri/i965/genX_state_upload.c b/src/mesa/drivers/dri/i965/genX_state_upload.c index dd0f66d0880..502613a9139 100644 --- a/src/mesa/drivers/dri/i965/genX_state_upload.c +++ b/src/mesa/drivers/dri/i965/genX_state_upload.c @@ -84,7 +84,7 @@ emit_lrm(struct brw_context *brw, uint32_t reg, struct brw_address addr) } #endif -#if GEN_GEN <= 7 +#if GEN_GEN == 7 static void emit_lri(struct brw_context *brw, uint32_t reg, uint32_t imm) { @@ -93,16 +93,6 @@ emit_lri(struct brw_context *brw, uint32_t reg, uint32_t imm) lri.DataDWord = imm; } } - -#if GEN_IS_HASWELL || GEN_GEN >= 8 -MAYBE_UNUSED static void -emit_lrr(struct brw_context *brw, uint32_t dst, uint32_t src) -{ - brw_batch_emit(brw, GENX(MI_LOAD_REGISTER_REG), lrr) { - lrr.SourceRegisterAddress = src; - lrr.DestinationRegisterAddress = dst; - } -} #endif /** |