From 357ff9135973a43233c2fe7e758a1840b906af39 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Tue, 19 Apr 2016 09:38:50 -0700 Subject: i965/gen6+: Add load register immediate helper functions Signed-off-by: Jordan Justen Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_context.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mesa/drivers/dri/i965/brw_context.h') diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index ba42aa95b09..6625f9dee70 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -1452,6 +1452,10 @@ void brw_store_register_mem32(struct brw_context *brw, drm_intel_bo *bo, uint32_t reg, uint32_t offset); void brw_store_register_mem64(struct brw_context *brw, drm_intel_bo *bo, uint32_t reg, uint32_t offset); +void brw_load_register_imm32(struct brw_context *brw, + uint32_t reg, uint32_t imm); +void brw_load_register_imm64(struct brw_context *brw, + uint32_t reg, uint64_t imm); void brw_load_register_reg(struct brw_context *brw, uint32_t src, uint32_t dest); void brw_store_data_imm32(struct brw_context *brw, drm_intel_bo *bo, -- cgit v1.2.3