summaryrefslogtreecommitdiffstats
path: root/features/hlsl.prf
blob: 0fa27a75d5de4d35db98784d48513a47b1cdb48a (plain)
1
2
3
4
5
6
7
8
9
10
for (SHADER, HLSL_SHADERS) {
    INPUT = $$eval($${SHADER}.input)
    fxc_$${SHADER}.input = $$INPUT
    fxc_$${SHADER}.commands = fxc.exe /nologo /E $$eval($${SHADER}.entry) /T $$eval($${SHADER}.type) /Fh ${QMAKE_FILE_OUT} ${QMAKE_FILE_NAME}
    fxc_$${SHADER}.output = $$eval($${SHADER}.header)
    fxc_$${SHADER}.dependency_type = TYPE_C
    fxc_$${SHADER}.variable_out = HEADERS
    fxc_$${SHADER}.CONFIG += target_predeps
    QMAKE_EXTRA_COMPILERS += fxc_$${SHADER}
}