diff options
author | Jordan Justen <jordan.l.justen@intel.com> | 2016-04-17 13:08:01 -0700 |
---|---|---|
committer | Jordan Justen <jordan.l.justen@intel.com> | 2016-05-04 11:23:10 -0700 |
commit | c54e5c2fb22795bcce1ff18f2a0a70d6a4c647a4 (patch) | |
tree | 725b0ed6b832f6a00a456544fc9bdcb319727051 /src/mesa/drivers/dri/i965/brw_context.h | |
parent | 77959ce07b75f83bff2aae30e4e78aa3c50ab70f (diff) | |
download | external_mesa3d-c54e5c2fb22795bcce1ff18f2a0a70d6a4c647a4.zip external_mesa3d-c54e5c2fb22795bcce1ff18f2a0a70d6a4c647a4.tar.gz external_mesa3d-c54e5c2fb22795bcce1ff18f2a0a70d6a4c647a4.tar.bz2 |
i965: Use offset instead of index in brw_store_register_mem64
This matches the byte based offset of brw_load_register_mem*.
The function is also moved into intel_batchbuffer.c like
brw_load_register_mem*.
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 7468dfa..948b082 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -1432,8 +1432,6 @@ void brw_emit_query_end(struct brw_context *brw); void gen6_init_queryobj_functions(struct dd_function_table *functions); void brw_write_timestamp(struct brw_context *brw, drm_intel_bo *bo, int idx); void brw_write_depth_count(struct brw_context *brw, drm_intel_bo *bo, int idx); -void brw_store_register_mem64(struct brw_context *brw, - drm_intel_bo *bo, uint32_t reg, int idx); /** brw_conditional_render.c */ void brw_init_conditional_render_functions(struct dd_function_table *functions); @@ -1450,6 +1448,8 @@ void brw_load_register_mem64(struct brw_context *brw, drm_intel_bo *bo, uint32_t read_domains, uint32_t write_domain, uint32_t offset); +void brw_store_register_mem64(struct brw_context *brw, + drm_intel_bo *bo, uint32_t reg, uint32_t offset); /*====================================================================== * brw_state_dump.c |