mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-shader/d3d-asm: Rename dump_signature() to dump_dxbc_signature().
To stress the fact that only the fields that appear in the DXBC signature sections are considered.
This commit is contained in:
parent
1256b4f862
commit
b21ae8d9c2
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
@ -2268,7 +2268,7 @@ static const char *get_semantic_register_name(enum vkd3d_shader_sysval_semantic
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static enum vkd3d_result dump_signature(struct vkd3d_d3d_asm_compiler *compiler,
|
static enum vkd3d_result dump_dxbc_signature(struct vkd3d_d3d_asm_compiler *compiler,
|
||||||
const char *name, const char *register_name, const struct shader_signature *signature)
|
const char *name, const char *register_name, const struct shader_signature *signature)
|
||||||
{
|
{
|
||||||
struct vkd3d_string_buffer *buffer = &compiler->buffer;
|
struct vkd3d_string_buffer *buffer = &compiler->buffer;
|
||||||
@ -2340,16 +2340,16 @@ static enum vkd3d_result dump_signatures(struct vkd3d_d3d_asm_compiler *compiler
|
|||||||
{
|
{
|
||||||
enum vkd3d_result ret;
|
enum vkd3d_result ret;
|
||||||
|
|
||||||
if ((ret = dump_signature(compiler, ".input",
|
if ((ret = dump_dxbc_signature(compiler, ".input",
|
||||||
program->shader_version.type == VKD3D_SHADER_TYPE_DOMAIN ? "vicp" : "v",
|
program->shader_version.type == VKD3D_SHADER_TYPE_DOMAIN ? "vicp" : "v",
|
||||||
&program->input_signature)) < 0)
|
&program->input_signature)) < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
if ((ret = dump_signature(compiler, ".output", "o",
|
if ((ret = dump_dxbc_signature(compiler, ".output", "o",
|
||||||
&program->output_signature)) < 0)
|
&program->output_signature)) < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
||||||
if ((ret = dump_signature(compiler, ".patch_constant",
|
if ((ret = dump_dxbc_signature(compiler, ".patch_constant",
|
||||||
program->shader_version.type == VKD3D_SHADER_TYPE_DOMAIN ? "vpc" : "o",
|
program->shader_version.type == VKD3D_SHADER_TYPE_DOMAIN ? "vpc" : "o",
|
||||||
&program->patch_constant_signature)) < 0)
|
&program->patch_constant_signature)) < 0)
|
||||||
return ret;
|
return ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user