Bug 101253 - [i965] Clears do not perform sRGB encoding for sRGB texture views
Summary: [i965] Clears do not perform sRGB encoding for sRGB texture views
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel 3D Bugs Mailing List
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-31 13:09 UTC by Józef Kucia
Modified: 2017-08-18 16:18 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Test case (4.54 KB, patch)
2017-05-31 13:09 UTC, Józef Kucia
Details | Splinter Review
A hack which fixes the attached test case (603 bytes, patch)
2017-05-31 13:10 UTC, Józef Kucia
Details | Splinter Review

Description Józef Kucia 2017-05-31 13:09:45 UTC
Created attachment 131600 [details] [review]
Test case

It seems that the texture view format is completely ignored for clears in i965 driver. In consequence sRGB clears do not work properly for texture views.
Comment 1 Józef Kucia 2017-05-31 13:10:21 UTC
Created attachment 131601 [details] [review]
A hack which fixes the attached test case
Comment 2 Jason Ekstrand 2017-08-18 05:46:22 UTC
I think this has been fixed with some of the recent miptree reworks.  Mind checking again with a 17.2 RC or master?
Comment 3 Józef Kucia 2017-08-18 16:18:15 UTC
It's fixed in master. Thanks.


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.