projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c944b91
)
ilo: fix 3DSTATE_VF_TOPOLOGY
author
Chia-I Wu
<olvaffe@gmail.com>
Thu, 12 Feb 2015 19:54:32 +0000
(
03:54
+0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Fri, 13 Feb 2015 22:52:36 +0000
(06:52 +0800)
The pipe primitive type was wrongly translated twice.
src/gallium/drivers/ilo/ilo_render_gen8.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/ilo/ilo_render_gen8.c
b/src/gallium/drivers/ilo/ilo_render_gen8.c
index
54c0e20
..
4e2887e
100644
(file)
--- a/
src/gallium/drivers/ilo/ilo_render_gen8.c
+++ b/
src/gallium/drivers/ilo/ilo_render_gen8.c
@@
-257,7
+257,6
@@
gen8_draw_vf(struct ilo_render *r,
const struct ilo_state_vector *vec,
struct ilo_render_draw_session *session)
{
- const int prim = gen6_3d_translate_pipe_prim(vec->draw->mode);
int i;
/* 3DSTATE_INDEX_BUFFER */
@@
-278,7
+277,7
@@
gen8_draw_vf(struct ilo_render *r,
if (DIRTY(VE))
gen6_3DSTATE_VERTEX_ELEMENTS(r->builder, vec->ve);
- gen8_3DSTATE_VF_TOPOLOGY(r->builder,
prim
);
+ gen8_3DSTATE_VF_TOPOLOGY(r->builder,
vec->draw->mode
);
for (i = 0; i < vec->ve->vb_count; i++) {
gen8_3DSTATE_VF_INSTANCING(r->builder, i,