[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:17:58 UTC 2016


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


More information about the mesa-dev mailing list