path: root/src/
diff options
authorAndrew Knight <>2013-12-08 22:33:43 +0200
committerThe Qt Project <>2013-12-09 10:27:28 +0100
commitbe2efef7a41871299cfc4b31fcffc39f96a196b6 (patch)
tree3b4ee1fad820f3adb919fc66e0262141bcddc916 /src/
parent25b390256bf2a699231a165e49f4100262ed29ac (diff)
Introducing d3dcompiler_qt
d3dcompiler_qt is a DLL for use with ANGLE which replaces d3dcompiler_XX at runtime to proxy shader compilation calls. This is useful for: - Loading the newest D3D compiler DLL found, instead of loading the version specified when Qt was compiled - Reporting better debug information when the compiler cannot be loaded - Caching shader blobs for later use - Returning cached shader blobs - Deferring compilation to another mechanism, such as a D3D compilation service running on a host debugging machine * The above use cases are especially important for Windows Store apps, as they are not allowed to ship the d3dcompiler. On Windows Phone, where there is no runtime compiler, this is essential for handling QtQuick apps which require runtime shader compilation. * This requires a separate service which monitors a directory for shader source files, compiles these files into D3D bytecode, and places the bytecode in the qtd3dcompiler cache directory. This directory is monitored by qtd3dcompiler, which is then able to then load the blob. Change-Id: I9889c8d66d2ddbe5a7a1dc44bfe5d8ad229b0e43 Reviewed-by: Oliver Wolff <> Reviewed-by: Friedemann Kleint <>
Diffstat (limited to 'src/')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ b/src/
index 63cbfacbf4..a782d585d5 100644
--- a/src/
+++ b/src/
@@ -77,6 +77,7 @@ src_testlib.depends = src_corelib # src_gui & src_widgets are not build-depend
src_angle.subdir = $$PWD/angle = sub-angle
+angle_d3d11: src_angle.depends = src_corelib
src_gui.subdir = $$PWD/gui = sub-gui