mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-09-12 18:50:22 -07:00
vkd3d-shader/d3d-asm: Add an "internal" mode for the ASM dumper.
The new mode exposes more details about what's going on inside the VSIR code and it's meant to ease development and debugging.
This commit is contained in:
committed by
Alexandre Julliard
parent
e7fdf2e97f
commit
1015cc952e
Notes:
Alexandre Julliard
2023-12-12 23:17:24 +01:00
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/502
@@ -1315,9 +1315,15 @@ struct vkd3d_string_buffer_cache
|
||||
size_t count, max_count, capacity;
|
||||
};
|
||||
|
||||
enum vsir_asm_dialect
|
||||
{
|
||||
VSIR_ASM_VSIR,
|
||||
VSIR_ASM_D3D,
|
||||
};
|
||||
|
||||
enum vkd3d_result vkd3d_dxbc_binary_to_text(const struct vkd3d_shader_instruction_array *instructions,
|
||||
const struct vkd3d_shader_version *shader_version, const struct vkd3d_shader_compile_info *compile_info,
|
||||
struct vkd3d_shader_code *out);
|
||||
struct vkd3d_shader_code *out, enum vsir_asm_dialect dialect);
|
||||
void vkd3d_string_buffer_cleanup(struct vkd3d_string_buffer *buffer);
|
||||
struct vkd3d_string_buffer *vkd3d_string_buffer_get(struct vkd3d_string_buffer_cache *list);
|
||||
void vkd3d_string_buffer_init(struct vkd3d_string_buffer *buffer);
|
||||
|
Reference in New Issue
Block a user