gwihlidal / intel-tex-rs

Rust bindings for Intel's ISPC texture compression
Apache License 2.0
23 stars 4 forks source link

unexpected assertion error #6

Open juzi5201314 opened 1 year ago

juzi5201314 commented 1 year ago

i am using the same code in the example to convert a bunch of pngs to dds, but when encountering an image of width: 170 height:156, an assertion failure occurs:

thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `26832`,
 right: `26528`', C:\Users\soeur\.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\intel_tex-0.1.4\src\bc7.rs:32:5

this confuses me a lot, as if it only happens at certain image sizes