mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/hlsl: Respect the requested target type.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
79ae688140
commit
f5c4c06090
@@ -97,6 +97,10 @@ target_type_info[] =
|
||||
{VKD3D_SHADER_TARGET_D3D_ASM,
|
||||
"d3d-asm", "A shader in Direct3D assembly form.\n",
|
||||
false},
|
||||
{VKD3D_SHADER_TARGET_D3D_BYTECODE,
|
||||
"d3dbc", "Legacy Direct3D byte-code.\n"
|
||||
" This is the format used for Direct3D shader model 1, 2, and 3 shaders.\n",
|
||||
true},
|
||||
{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",
|
||||
|
Reference in New Issue
Block a user