path: root/src/angle/
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/angle/
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/angle/')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/angle/ b/src/angle/
index 83510698d3..a8040428d1 100644
--- a/src/angle/
+++ b/src/angle/
@@ -1,5 +1,6 @@
TEMPLATE = subdirs
SUBDIRS += src
+angle_d3d11: SUBDIRS += d3dcompiler
# We do it this way instead of letting load(qt_module) handle it for two reasons:
# 1) qt_module_headers assumes the TARGET is the same as the include directory (eg: libGLESv2 != GLES2)