Skip to content
Snippets Groups Projects
Commit 07e22f23 authored by Kacper Michajłow's avatar Kacper Michajłow Committed by Niklas Haas
Browse files

Revert "utils/upload: fix use of formats with unusual sample order"

This was incomplete fix and only worked for uploading case. Better fix
to follow in next commit.

This reverts commit a018ab04.
parent 8fd68eb1
No related branches found
No related tags found
1 merge request!686Revert "renderer: don't double-apply sample order"
......@@ -206,7 +206,7 @@ pl_fmt pl_plane_find_fmt(pl_gpu gpu, int out_map[4], const struct pl_plane_data
int size = data->component_size[i];
if (size && (idx >= 4 || fmt->host_bits[idx] != size))
goto next_fmt;
out_map[fmt->sample_order[idx++]] = data->component_map[i];
out_map[idx++] = data->component_map[i];
}
// Reject misaligned formats, check this last to only log such errors
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment