aboutsummaryrefslogtreecommitdiffstats
path: root/examples/hellotriangle/hellotriangle.pro
blob: 0d363781ad1a0f9f1c0bf5cfa1a2f321fa37cf64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
TEMPLATE = app
QT += d3d12window widgets

SOURCES = main.cpp window.cpp
HEADERS = window.h

LIBS = -ld3d12

VSPS = shader.hlsl

vshader.input = VSPS
vshader.header = shader_vs.h
vshader.entry = VS_Simple
vshader.type = vs_5_0

pshader.input = VSPS
pshader.header = shader_ps.h
pshader.entry = PS_Simple
pshader.type = ps_5_0

HLSL_SHADERS = vshader pshader
load(hlsl)