mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader: Add an option to enable child effects compilation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
This commit is contained in:
committed by
Alexandre Julliard
parent
7f1fdd447c
commit
13227f3852
Notes:
Alexandre Julliard
2024-03-12 22:56:09 +01:00
Approved-by: Zebediah Figura (@zfigura) Approved-by: Giovanni Mascellani (@giomasce) Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/692
@@ -299,6 +299,15 @@ enum vkd3d_shader_compile_option_name
|
||||
* \since 1.11
|
||||
*/
|
||||
VKD3D_SHADER_COMPILE_OPTION_FEATURE = 0x0000000a,
|
||||
/**
|
||||
* If \a value is non-zero compilation will produce a child effect using
|
||||
* shared object descriptions, as instructed by the "shared" modifier.
|
||||
* Child effects are supported with fx_2_0, fx_4_0, and fx_4_1. This option
|
||||
* and "shared" modifiers are ignored for fx_5_0 profile, and non-fx profiles.
|
||||
*
|
||||
* \since 1.12
|
||||
*/
|
||||
VKD3D_SHADER_COMPILE_OPTION_CHILD_EFFECT = 0x0000000b,
|
||||
|
||||
VKD3D_FORCE_32_BIT_ENUM(VKD3D_SHADER_COMPILE_OPTION_NAME),
|
||||
};
|
||||
|
Reference in New Issue
Block a user