summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/genX_state_upload.c12
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
/**