diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2016-01-22 12:04:11 +0100 |
---|---|---|
committer | Andy Nichols <andy.nichols@theqtcompany.com> | 2016-01-22 11:19:49 +0000 |
commit | 9a95c33279cba9be6e34983c9a2bb1e6f300c2a3 (patch) | |
tree | ae849401a6c0d50df8bece7337e98b3675cbdfa7 /examples/hellogpumipmap/hellogpumipmap.pro | |
parent | 41358da2d9806c4069263e01d8ecf7df3d7e1192 (diff) |
Add QD3D12Window, a HLSL qmake rule and 8 examples
Change-Id: Ida7852af10e0236a5d80e95a0876fff6276b410c
Reviewed-by: Andy Nichols <andy.nichols@theqtcompany.com>
Diffstat (limited to 'examples/hellogpumipmap/hellogpumipmap.pro')
-rw-r--r-- | examples/hellogpumipmap/hellogpumipmap.pro | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/examples/hellogpumipmap/hellogpumipmap.pro b/examples/hellogpumipmap/hellogpumipmap.pro new file mode 100644 index 0000000..286784e --- /dev/null +++ b/examples/hellogpumipmap/hellogpumipmap.pro @@ -0,0 +1,29 @@ +TEMPLATE = app +QT += d3d12window widgets + +SOURCES = main.cpp window.cpp +HEADERS = window.h +RESOURCES = hellogpumipmap.qrc + +LIBS = -ld3d12 + +VSPS = shader.hlsl +CS = mipmapgen.hlsl + +vshader.input = VSPS +vshader.header = shader_vs.h +vshader.entry = VS_Texture +vshader.type = vs_5_0 + +pshader.input = VSPS +pshader.header = shader_ps.h +pshader.entry = PS_Texture +pshader.type = ps_5_0 + +cshader.input = CS +cshader.header = shader_cs.h +cshader.entry = CS_Generate4MipMaps +cshader.type = cs_5_0 + +HLSL_SHADERS = vshader pshader cshader +load(hlsl) |