forked from nobled/mesa
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Big hack to make fast clears work on SKL
For whatever reason it seems that certain formats require the clear color to be programmed as a normalized integer rather than a float. This doesn't seem to be mentioned in the specs and I've just discovered this by trial and error. I can't work out what is going on with MESA_FORMAT_R8G8B8X8_SRGB so I've just disabled it. R8G8B8A8_SRGB works fine.
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters