summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAndrew Knight <andrew.knight@digia.com>2014-02-24 11:24:25 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-26 07:56:53 +0100
commitefc79c6e91f6e7c226eabfb1e371840a2df09782 (patch)
tree04968586a4ac4183c5e400dbc9f5e3de9c1e8b80 /src/plugins
parenta7d093e740b1e20874b5ebeb37b5c5d76ae19e42 (diff)
ANGLE: Allow for universal program binaries
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>
Diffstat (limited to 'src/plugins')
0 files changed, 0 insertions, 0 deletions