vkd3d-shader: Introduce struct vkd3d_shader_source_list.

This commit is contained in:
Henri Verbeet
2025-08-05 21:17:28 +02:00
parent e4bb77ecef
commit 7c37fc6a8b
Notes: Henri Verbeet 2025-08-07 20:51:41 +02:00
Approved-by: Elizabeth Figura (@zfigura)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1671
5 changed files with 63 additions and 27 deletions

View File

@@ -1093,8 +1093,7 @@ struct hlsl_ctx
{
const struct hlsl_profile_info *profile;
const char **source_files;
unsigned int source_files_count;
struct vkd3d_shader_source_list source_files;
/* Current location being read in the HLSL source, updated while parsing. */
struct vkd3d_shader_location location;
/* Stores the logging messages and logging configuration. */