[Mesa-dev] [PATCH 06/15] mesa: Call DXTn functions directly

Emil Velikov emil.l.velikov at gmail.com
Mon Oct 2 13:08:47 UTC 2017


On 2 October 2017 at 14:05, Emil Velikov <emil.l.velikov at gmail.com> wrote:

>> -   if (ext_tx_compress_dxtn) {
>> -      (*ext_tx_compress_dxtn)(3, srcWidth, srcHeight, pixels,
>> +   if (tx_compress_dxtn) {
>> +      (*tx_compress_dxtn)(3, srcWidth, srcHeight, pixels,
> Please use something like the following. It will drop the unneeded
> checks w/o having to re-indent the whole thing.
>
>    {
>       tx_compress_dxtn(3, srcWidth, srcHeight, pixels,
> ...
>
Please ignore - just saw you're handing that in 7/15.

-Emil


More information about the mesa-dev mailing list