BinomialLLC / basis_universal

Basis Universal GPU Texture Codec
Apache License 2.0
2.72k stars 267 forks source link

Make sure unpacked.m_common_pattern is initialized #369

Closed tfpsly closed 2 months ago

tfpsly commented 10 months ago

In uastc modes where unpacked.m_common_pattern is not used, it's still read and passed by value to two functions (where it won't be used). This confuses my company's code analysis tools. Could we make sure we already initialize this member variable? Thx

richgel999 commented 3 months ago

Thanks - merging this into our HDR update (for early Sept.)

richgel999 commented 2 months ago

Fixed in v1.50