summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-09-22 15:13:23 +0800
committerChia-I Wu <[email protected]>2014-09-23 10:08:05 +0800
commit2c1f978d6c70dcf1cb854560572a5bca4da1da88 (patch)
tree13219295dcbf92c430713be030e2e5646c208dd8 /src
parentf6ff4cd517e2d983bfc1336683477286528fe271 (diff)
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c2
-rw-r--r--src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h5
-rw-r--r--src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c2
3 files changed, 1 insertions, 8 deletions
diff --git a/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c b/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c
index dbfc9935940..686cf5fb589 100644
--- a/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c
+++ b/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c
@@ -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)
diff --git a/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h b/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h
index 247e10e11dc..85a89858918 100644
--- a/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h
+++ b/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.h
@@ -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);
diff --git a/src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c b/src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c
index d94570e36b6..2e3c2ec6ac7 100644
--- a/src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c
+++ b/src/gallium/drivers/ilo/ilo_3d_pipeline_gen7.c
@@ -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) {