vkd3d-shader/hlsl: Introduce hlsl_compile_effect().

The goal being to allow hlsl_compile_shader() to return a vsir program.
This commit is contained in:
Henri Verbeet
2025-07-22 22:48:27 +02:00
parent 6805612918
commit dbaecb3f36
Notes: Henri Verbeet 2025-07-29 13:35:22 +02:00
Approved-by: Elizabeth Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1658
3 changed files with 48 additions and 23 deletions

View File

@@ -1806,6 +1806,8 @@ void vkd3d_compute_md5(const void *dxbc, size_t size, uint32_t checksum[4], enum
int preproc_lexer_parse(const struct vkd3d_shader_compile_info *compile_info,
struct vkd3d_shader_code *out, struct vkd3d_shader_message_context *message_context);
int hlsl_compile_effect(const struct vkd3d_shader_compile_info *compile_info,
struct vkd3d_shader_message_context *message_context, struct vkd3d_shader_code *out);
int hlsl_compile_shader(const struct vkd3d_shader_compile_info *compile_info,
struct vkd3d_shader_message_context *message_context, struct vkd3d_shader_code *out);