vkd3d-compiler: Add the dxbc-tpf target type.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2020-09-28 22:41:08 -05:00 committed by Alexandre Julliard
parent 0bcb8ba398
commit 22fcdb7613

View File

@ -84,6 +84,10 @@ target_type_info[] =
{VKD3D_SHADER_TARGET_D3D_ASM,
"d3d-asm", "A shader in Direct3D assembly form.\n",
false},
{VKD3D_SHADER_TARGET_DXBC_TPF,
"dxbc-tpf", "A 'Tokenized Program Format' shader embedded in a DXBC container.\n"
" This is the format used for Direct3D shader model 4 and 5 shaders.\n",
true},
};
static bool read_shader(struct vkd3d_shader_code *shader, FILE *f)