ilo: make gen6_pipeline_update_max_svbi() static
authorChia-I Wu <olvaffe@gmail.com>
Mon, 22 Sep 2014 07:13:23 +0000 (15:13 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Tue, 23 Sep 2014 02:08:05 +0000 (10:08 +0800)
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>
src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c
src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h
src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c

index dbfc993594058bb5af20313f39837a6c05fc6707..686cf5fb589a1264fdbeae5e4d33d9443f33e277 100644 (file)
@@ -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)
index 247e10e11dce15feecc73205ae989c0362865359..85a8985891868e5d7293e554a1cea52d5d700030 100644 (file)
@@ -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);
index d94570e36b6528b54f61ebe10141b1c28d15e135..2e3c2ec6ac7c0a3b8d8be7bef17d0478fb0c0fbc 100644 (file)
@@ -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) {