From 22fcdb761359068ad0e07d17fa65b165cf462b4b Mon Sep 17 00:00:00 2001 From: Zebediah Figura Date: Mon, 28 Sep 2020 22:41:08 -0500 Subject: [PATCH] vkd3d-compiler: Add the dxbc-tpf target type. Signed-off-by: Zebediah Figura Signed-off-by: Henri Verbeet Signed-off-by: Alexandre Julliard --- programs/vkd3d-compiler/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/programs/vkd3d-compiler/main.c b/programs/vkd3d-compiler/main.c index a5aff57c..dd2ce930 100644 --- a/programs/vkd3d-compiler/main.c +++ b/programs/vkd3d-compiler/main.c @@ -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)