vkd3d-shader/d3d-asm: Rename vkd3d_shader_trace() to vsir_program_trace().

This commit is contained in:
Giovanni Mascellani 2024-10-08 15:29:52 +02:00 committed by Henri Verbeet
parent 3428ed7a64
commit 1256b4f862
Notes: Henri Verbeet 2024-10-08 22:12:06 +02:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/1160
7 changed files with 7 additions and 7 deletions

View File

@ -2499,7 +2499,7 @@ enum vkd3d_result d3d_asm_compile(const struct vsir_program *program,
return result;
}
void vkd3d_shader_trace(const struct vsir_program *program)
void vsir_program_trace(const struct vsir_program *program)
{
const unsigned int flags = VSIR_ASM_FLAG_DUMP_TYPES | VSIR_ASM_FLAG_DUMP_ALL_INDICES;
struct vkd3d_shader_code code;

View File

@ -1390,7 +1390,7 @@ int d3dbc_parse(const struct vkd3d_shader_compile_info *compile_info, uint64_t c
WARN("Failed to validate shader after parsing, ret %d.\n", ret);
if (TRACE_ON())
vkd3d_shader_trace(program);
vsir_program_trace(program);
vsir_program_cleanup(program);
return ret;

View File

@ -10594,7 +10594,7 @@ int dxil_parse(const struct vkd3d_shader_compile_info *compile_info, uint64_t co
WARN("Failed to validate shader after parsing, ret %d.\n", ret);
if (TRACE_ON())
vkd3d_shader_trace(program);
vsir_program_trace(program);
sm6_parser_cleanup(&sm6);
vsir_program_cleanup(program);

View File

@ -7149,7 +7149,7 @@ enum vkd3d_result vsir_program_transform(struct vsir_program *program, uint64_t
vsir_transform(&ctx, vsir_program_insert_clip_planes);
if (TRACE_ON())
vkd3d_shader_trace(program);
vsir_program_trace(program);
return ctx.result;
}

View File

@ -2962,7 +2962,7 @@ int tpf_parse(const struct vkd3d_shader_compile_info *compile_info, uint64_t con
WARN("Failed to validate shader after parsing, ret %d.\n", ret);
if (TRACE_ON())
vkd3d_shader_trace(program);
vsir_program_trace(program);
vsir_program_cleanup(program);
return ret;

View File

@ -1489,7 +1489,7 @@ static int vsir_program_scan(struct vsir_program *program, const struct vkd3d_sh
descriptor_info1, combined_sampler_info, message_context);
if (TRACE_ON())
vkd3d_shader_trace(program);
vsir_program_trace(program);
for (i = 0; i < program->instructions.count; ++i)
{

View File

@ -1475,7 +1475,7 @@ struct vkd3d_shader_scan_descriptor_info1
unsigned int descriptor_count;
};
void vkd3d_shader_trace(const struct vsir_program *program);
void vsir_program_trace(const struct vsir_program *program);
const char *shader_get_type_prefix(enum vkd3d_shader_type type);