GPUOpen-Tools / compressonator

Tool suite for Texture and 3D Model Compression, Optimization and Analysis using CPUs, GPUs and APUs
1.29k stars 193 forks source link

Calculation will always end in 0. #323

Open Sluggernot opened 2 months ago

Sluggernot commented 2 months ago

https://github.com/GPUOpen-Tools/compressonator/blob/f4b53d79ec5abbb50924f58aebb7bf2793200b94/cmp_core/shaders/bc6_encode_kernel.cpp#L2900

fEndPoints[0][m][n] - fEndPoints[0][m][n] will always result in 0.