mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -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
@@ -581,6 +581,11 @@ enum vkd3d_shader_target_type
|
||||
VKD3D_SHADER_TARGET_SPIRV_BINARY,
|
||||
VKD3D_SHADER_TARGET_SPIRV_TEXT,
|
||||
VKD3D_SHADER_TARGET_D3D_ASM,
|
||||
/**
|
||||
* Legacy Direct3D byte-code. This is the format used for Direct3D shader
|
||||
* model 1, 2, and 3 shaders.
|
||||
*/
|
||||
VKD3D_SHADER_TARGET_D3D_BYTECODE,
|
||||
/**
|
||||
* A 'Tokenized Program Format' shader embedded in a DXBC container. This is
|
||||
* the format used for Direct3D shader model 4 and 5 shaders.
|
||||
|
Reference in New Issue
Block a user