castano / icbc

A High Quality SIMD BC1 Encoder
MIT License
108 stars 7 forks source link

Add encoder for AMD decoder #4

Closed castano closed 2 years ago

castano commented 4 years ago

Every IHV decodes DXT blocks in a slightly different way. It would be good to have a specialized encoder to target each IHVs specific decoder. This would be particularly useful for console titles whose assets would run on a specific platform.

castano commented 4 years ago

In 1.04 you can now specify the target hardware decoder through the init_dxt1 function. Currently this only affects the optimal single color encoder and the index selection. In the future I'd like to also update the least squares optimizer to take into account the AMD optimization weights.

castano commented 2 years ago

Done.