BinomialLLC / basis_universal

Basis Universal GPU Texture Codec
Apache License 2.0
2.67k stars 260 forks source link

Make sure unpacked.m_common_pattern is initialized #369

Closed tfpsly closed 1 day ago

tfpsly commented 8 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 weeks ago

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

richgel999 commented 1 day ago

Fixed in v1.50