summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_draw.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2014-09-25 12:10:00 +0800
committerChia-I Wu <[email protected]>2014-09-26 21:15:55 +0800
commit0afc17ea4986288c3ca3359242585997a11a1255 (patch)
tree2009d8336ed3dc6bfe38dab57e34cf3303bdb5a0 /src/gallium/drivers/ilo/ilo_draw.c
parent18cbd3cc3414bca77edc26d0e009b8acbf551cba (diff)
ilo: make ilo_render_emit_query() direct
Remove emit_query() and ILO_RENDER_QUERY indirections. Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_draw.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_draw.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/ilo/ilo_draw.c b/src/gallium/drivers/ilo/ilo_draw.c
index dfba90d8e3a..9e38796b54e 100644
--- a/src/gallium/drivers/ilo/ilo_draw.c
+++ b/src/gallium/drivers/ilo/ilo_draw.c
@@ -176,8 +176,7 @@ ilo_init_draw_query(struct ilo_context *ilo, struct ilo_query *q)
break;
}
- q->cmd_len = ilo_render_estimate_size(ilo->render,
- ILO_RENDER_QUERY, q);
+ q->cmd_len = ilo_render_get_query_len(ilo->render, q->type);
/* double cmd_len and stride if in pairs */
q->cmd_len <<= q->in_pairs;