Bug 71124

Summary: dst[3] will not always initialized in etc2_rgb8_fetch_texel().
Product: Mesa Reporter: Masaki MURANAKA <monaka>
Component: Mesa coreAssignee: Anuj Phogat <anuj.phogat>
Status: RESOLVED WORKSFORME QA Contact: mesa-dev
Severity: trivial    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Masaki MURANAKA 2013-11-01 13:51:12 UTC
In etc2_rgb8_fetch_texel().
In case block->is_planar_mode == true and punchthrough_alpha == false, dst[3] will not be initialized.

I found it on reviewing texcompress_etc.c (git hash: 0c883e46d871).
Comment 1 Tapani Pälli 2017-09-25 07:42:51 UTC
I believe it still works correctly because dst[3] is set after etc2_rgb8_fetch_texel using etc2_alpha8_fetch_texel. I'm resolving this as WORKSFORME. Please reopen if there is a failing usecase with the format.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.