summaryrefslogtreecommitdiffstats
path: root/src/angle/patches/0013-ANGLE-Allow-for-universal-program-binaries.patch
Commit message (Collapse)AuthorAgeFilesLines
* ANGLE: Allow for universal program binariesAndrew Knight2014-02-261-0/+93
As a safety precaution, ANGLE writes the commit hash, optimization level, and adapter ID to its binary format. However, this hurts portability between systems by making shader pre-compilation/caching artificially system-specific. The shader compiler doesn't take the target adapter into account, and the optimization level information discarded by ANGLE anyway. So, allow ANGLE to bypass these checks on systems where precompilation is required (i.e. WinRT). The default mechanism still applies unless ANGLE_ENABLE_UNIVERSAL_BINARY is passed as a define. Change-Id: Iec6d833fd7010ed163978557238f00e7ac6ae416 Reviewed-by: Oliver Wolff <oliver.wolff@digia.com>