vkd3d-shader: Allow the name of the SPIR-V entry point to be specified.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet
2020-06-23 13:50:15 +04:30
committed by Alexandre Julliard
parent 7e4fc14a31
commit 25ef055062
3 changed files with 16 additions and 6 deletions

View File

@@ -279,6 +279,8 @@ struct vkd3d_shader_spirv_target_info
enum vkd3d_shader_structure_type type;
const void *next;
const char *entry_point; /* "main" if NULL. */
enum vkd3d_shader_spirv_environment environment;
const enum vkd3d_shader_spirv_extension *extensions;