Commit c11a2bc2 authored by Hyunjun Ko's avatar Hyunjun Ko Committed by Marge Bot

turnip: Fix wrong assignment of xfb output's offset.

Should be divided by 4 so we could calculate the offset correctly in

Fixes: 2a1d6b81
Related: 374406a7Signed-off-by: Hyunjun Ko's avatarHyunjun Ko <>
Reviewed-by: Jonathan Marek's avatarJonathan Marek <>
Part-of: <!4207>
parent 25a54554
......@@ -422,7 +422,7 @@ tu_gather_xfb_info(nir_shader *nir, struct tu_shader *shader)
info->output[i].num_components =
info->output[i].output_buffer = xfb->outputs[i].buffer;
info->output[i].dst_offset = xfb->outputs[i].offset;
info->output[i].dst_offset = xfb->outputs[i].offset / 4;
info->output[i].stream = xfb->buffer_to_stream[xfb->outputs[i].buffer];
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment