draw: fix so debug offset printing

Reviewed-by: Dave Airlie <airlied@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24568>
This commit is contained in:
Mike Blumenkrantz 2023-07-24 10:44:26 -04:00 committed by Marge Bot
parent 48b0af7217
commit 7498c83ace

View file

@ -210,7 +210,7 @@ so_emit_prim(struct pt_so_emit *so,
{
debug_printf("VERT[%d], stream = %d, offset = %d, slot[%d] sc = %d, num_c = %d, idx = %d = [",
i, stream,
draw->so.targets[ob]->internal_offset,
draw->so.targets[ob]->internal_offset + (4 * state->output[slot].dst_offset),
slot, start_comp, num_comps, idx);
for (unsigned j = 0; j < num_comps; ++j) {
unsigned *ubuffer = (unsigned*)buffer;