ilo: make gen6_pipeline_update_max_svbi() static
We do not need to call it from GEN7 pipeline anymore since software PIPE_QUERY_PRIMITIVES_EMITTED is gone. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
This commit is contained in:
@@ -524,7 +524,7 @@ gen6_pipeline_gs(struct ilo_3d_pipeline *p,
|
||||
}
|
||||
}
|
||||
|
||||
bool
|
||||
static bool
|
||||
gen6_pipeline_update_max_svbi(struct ilo_3d_pipeline *p,
|
||||
const struct ilo_state_vector *vec,
|
||||
struct gen6_pipeline_session *session)
|
||||
|
||||
@@ -144,11 +144,6 @@ gen6_pipeline_states(struct ilo_3d_pipeline *p,
|
||||
const struct ilo_state_vector *ilo,
|
||||
struct gen6_pipeline_session *session);
|
||||
|
||||
bool
|
||||
gen6_pipeline_update_max_svbi(struct ilo_3d_pipeline *p,
|
||||
const struct ilo_state_vector *ilo,
|
||||
struct gen6_pipeline_session *session);
|
||||
|
||||
int
|
||||
gen6_pipeline_estimate_state_size(const struct ilo_3d_pipeline *p,
|
||||
const struct ilo_state_vector *ilo);
|
||||
|
||||
@@ -414,8 +414,6 @@ gen7_pipeline_sol(struct ilo_3d_pipeline *p,
|
||||
|
||||
so_info = ilo_shader_get_kernel_so_info(shader);
|
||||
|
||||
gen6_pipeline_update_max_svbi(p, vec, session);
|
||||
|
||||
/* 3DSTATE_SO_BUFFER */
|
||||
if ((DIRTY(SO) || dirty_sh || session->batch_bo_changed) &&
|
||||
vec->so.enabled) {
|
||||
|
||||
Reference in New Issue
Block a user