diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-06-15 15:17:32 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2016-06-22 08:54:40 +0000 |
commit | 7de18e6f52d6247bddd7bfabe0b2601d7db239b5 (patch) | |
tree | 4fb4df87bf129fe399734a4eccf97cfe61de5671 /src/quick/scenegraph/util | |
parent | a03eb67a786788511302a8ac3ecc809002408fed (diff) |
D3D12: Support runtime threaded shader compilation
Let's revise our policy of offline/bytecode only shaders. ShaderEffect
benefits greatly from having runtime compilation support for HLSL
source strings, especially when dynamically constructing shader strings.
There is no reason not to support both approaches since we rely on d3dcompiler
for reflection anyhow.
What's more, we can call D3DCompile on a dedicated thread, keeping the
gui responsive while compilation is on-going.
Change-Id: Ie6c02c2aa0ebd0c8371bbf30b3ce6582128c457b
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'src/quick/scenegraph/util')
0 files changed, 0 insertions, 0 deletions