Bug 71124 - dst[3] will not always initialized in etc2_rgb8_fetch_texel().
Summary: dst[3] will not always initialized in etc2_rgb8_fetch_texel().
Status: RESOLVED WORKSFORME
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: Other All
: medium trivial
Assignee: Anuj Phogat
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-01 13:51 UTC by Masaki MURANAKA
Modified: 2017-09-25 07:42 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.