Hi again,

Actually, "util_format_translate" seems to fit our needs.
It could probably be optimised better (8unorm fitting format->ARGB could avoid using tmp buffer for example),
but that should be ok for our needs.

Yours,

Axel Davy

On 09/02/2016 20:17, Axel Davy wrote:
Hi,

We'd need to do some formats conversion in gallium nine, and if possible we would like to do them in-place.

unpack_rgba_8unorm/pack_rgba_8unorm doesn't seem to explicitly allow in-place conversion,
but the generated code seems to be fine with that.

Can we rely on these functions to be safe for in-place conversion ? Could we add that somewhere as requirement ?

CC-ing vmware guys, as they probably know.

Yours,

Axel Davy
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to