mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader: Return a vkd3d_string_buffer from hlsl_type_to_string().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
committed by
Alexandre Julliard
parent
6d032f6d1c
commit
48a1db2976
@@ -390,6 +390,7 @@ struct hlsl_ctx
|
||||
unsigned int source_files_count;
|
||||
struct vkd3d_shader_location location;
|
||||
struct vkd3d_shader_message_context *message_context;
|
||||
struct vkd3d_string_buffer_cache string_buffers;
|
||||
bool failed;
|
||||
|
||||
void *scanner;
|
||||
@@ -496,7 +497,8 @@ static inline void hlsl_src_remove(struct hlsl_src *src)
|
||||
|
||||
const char *debug_hlsl_type(const struct hlsl_type *type) DECLSPEC_HIDDEN;
|
||||
|
||||
char *hlsl_type_to_string(const struct hlsl_type *type) DECLSPEC_HIDDEN;
|
||||
struct vkd3d_string_buffer *hlsl_type_to_string(struct vkd3d_string_buffer_cache *string_buffers,
|
||||
const struct hlsl_type *type) DECLSPEC_HIDDEN;
|
||||
char *hlsl_modifiers_to_string(unsigned int modifiers) DECLSPEC_HIDDEN;
|
||||
const char *hlsl_node_type_to_string(enum hlsl_ir_node_type type) DECLSPEC_HIDDEN;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user