[Mesa-dev] Are gallium unpack_rgba_8unorm/pack_rgba_8unorm safe for in-place conversion ?
Axel Davy
axel.davy at ens.fr
Tue Feb 9 19:42:49 UTC 2016
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 at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list