mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-04-13 05:43:18 -07:00
vkd3d-shader/sm1: Introduce a parser for the legacy D3D byte-code format.
This is largely derived from the parser in Wine/wined3d, as of wine-6.18. 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
28316b2694
commit
f7662f9878
@@ -467,6 +467,11 @@ enum vkd3d_shader_source_type
|
||||
VKD3D_SHADER_SOURCE_DXBC_TPF,
|
||||
/** High-Level Shader Language source code. */
|
||||
VKD3D_SHADER_SOURCE_HLSL,
|
||||
/**
|
||||
* Legacy Direct3D byte-code. This is the format used for Direct3D shader
|
||||
* model 1, 2, and 3 shaders.
|
||||
*/
|
||||
VKD3D_SHADER_SOURCE_D3D_BYTECODE,
|
||||
|
||||
VKD3D_FORCE_32_BIT_ENUM(VKD3D_SHADER_SOURCE_TYPE),
|
||||
};
|
||||
|
Reference in New Issue
Block a user