[Mesa-dev] [PATCH] gallium/util: Implement util_format_translate_3D

Axel Davy axel.davy at ens.fr
Wed May 18 21:01:10 UTC 2016


On 18/05/2016 22:49, Emil Velikov wrote:
> On 18 May 2016 at 21:33, Axel Davy <axel.davy at ens.fr> wrote:
>> This is the equivalent of util_format_translate, but for volumes.
>>
>> Signed-off-by: Axel Davy <axel.davy at ens.fr>
>> ---
>> Emil, I hope I understood what you wanted correctly.
>>
> Imho the function name should be all lowercase - util_format_translate_3d.
>
> The rest of gallium seems to follow that approach:
> lp_build_lerp_3d
> u_box_3d
> u_box_volume_3d
> ...
>
> You get the idea ;-)
>
> -Emil
>
Right, fixed in this commit (and the one calling the new function).


Axel



More information about the mesa-dev mailing list