From 98b95a3735ae0929cee406bc85d67105642711e8 Mon Sep 17 00:00:00 2001 From: Anuj Phogat Date: Thu, 11 May 2017 14:58:13 -0700 Subject: [PATCH] i965/cnl: Add gen10 specific function declarations These declarations will help the code start compiling once we wire up the makefiles for gen10. Later patches will start using these functions for gen10. Signed-off-by: Anuj Phogat Reviewed-by: Jason Ekstrand --- src/intel/isl/isl_priv.h | 12 ++++++++++++ src/mesa/drivers/dri/i965/brw_blorp.h | 2 ++ src/mesa/drivers/dri/i965/brw_state.h | 1 + 3 files changed, 15 insertions(+) diff --git a/src/intel/isl/isl_priv.h b/src/intel/isl/isl_priv.h index 186e84db46d..525d8a20699 100644 --- a/src/intel/isl/isl_priv.h +++ b/src/intel/isl/isl_priv.h @@ -184,6 +184,10 @@ void isl_gen9_surf_fill_state_s(const struct isl_device *dev, void *state, const struct isl_surf_fill_state_info *restrict info); +void +isl_gen10_surf_fill_state_s(const struct isl_device *dev, void *state, + const struct isl_surf_fill_state_info *restrict info); + void isl_gen4_buffer_fill_state_s(void *state, const struct isl_buffer_fill_state_info *restrict info); @@ -212,6 +216,10 @@ void isl_gen9_buffer_fill_state_s(void *state, const struct isl_buffer_fill_state_info *restrict info); +void +isl_gen10_buffer_fill_state_s(void *state, + const struct isl_buffer_fill_state_info *restrict info); + void isl_gen4_emit_depth_stencil_hiz_s(const struct isl_device *dev, void *batch, const struct isl_depth_stencil_hiz_emit_info *restrict info); @@ -240,4 +248,8 @@ void isl_gen9_emit_depth_stencil_hiz_s(const struct isl_device *dev, void *batch, const struct isl_depth_stencil_hiz_emit_info *restrict info); +void +isl_gen10_emit_depth_stencil_hiz_s(const struct isl_device *dev, void *batch, + const struct isl_depth_stencil_hiz_emit_info *restrict info); + #endif /* ISL_PRIV_H */ diff --git a/src/mesa/drivers/dri/i965/brw_blorp.h b/src/mesa/drivers/dri/i965/brw_blorp.h index 0de352edefb..fd1b5cc944d 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp.h +++ b/src/mesa/drivers/dri/i965/brw_blorp.h @@ -90,6 +90,8 @@ void gen8_blorp_exec(struct blorp_batch *batch, const struct blorp_params *params); void gen9_blorp_exec(struct blorp_batch *batch, const struct blorp_params *params); +void gen10_blorp_exec(struct blorp_batch *batch, + const struct blorp_params *params); #ifdef __cplusplus } /* extern "C" */ diff --git a/src/mesa/drivers/dri/i965/brw_state.h b/src/mesa/drivers/dri/i965/brw_state.h index 08064fe577b..6f5afafac02 100644 --- a/src/mesa/drivers/dri/i965/brw_state.h +++ b/src/mesa/drivers/dri/i965/brw_state.h @@ -361,6 +361,7 @@ void gen7_init_atoms(struct brw_context *brw); void gen75_init_atoms(struct brw_context *brw); void gen8_init_atoms(struct brw_context *brw); void gen9_init_atoms(struct brw_context *brw); +void gen10_init_atoms(struct brw_context *brw); void upload_gs_state_for_tf(struct brw_context *brw); -- 2.30.2