mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 08:40:11 +01:00
nv50,nvc0: add a note when converting vertex elements using CPU
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
41c7912d04
commit
28e07fdd4a
2 changed files with 6 additions and 0 deletions
|
|
@ -91,6 +91,9 @@ nv50_vertex_state_create(struct pipe_context *pipe,
|
|||
}
|
||||
so->element[i].state = nv50_format_table[fmt].vtx;
|
||||
so->need_conversion = true;
|
||||
pipe_debug_message(&nouveau_context(pipe)->debug, FALLBACK,
|
||||
"Converting vertex element %d, no hw format %s",
|
||||
i, util_format_name(ve->src_format));
|
||||
}
|
||||
so->element[i].state |= i;
|
||||
|
||||
|
|
|
|||
|
|
@ -95,6 +95,9 @@ nvc0_vertex_state_create(struct pipe_context *pipe,
|
|||
}
|
||||
so->element[i].state = nvc0_format_table[fmt].vtx;
|
||||
so->need_conversion = true;
|
||||
pipe_debug_message(&nouveau_context(pipe)->debug, FALLBACK,
|
||||
"Converting vertex element %d, no hw format %s",
|
||||
i, util_format_name(ve->src_format));
|
||||
}
|
||||
size = util_format_get_blocksize(fmt);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue