mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
vkd3d-compiler: Add an option to emit the signature when disassembling.
This commit is contained in:
parent
9aa86901e3
commit
9b0a9f63f7
Notes:
Alexandre Julliard
2024-03-07 23:21:49 +01:00
Approved-by: Henri Verbeet (@hverbeet) Approved-by: Alexandre Julliard (@julliard) Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/553
@ -191,8 +191,9 @@ static void print_usage(const char *program_name)
|
|||||||
" --formatting=<flags> Specify the formatting options for text output.\n"
|
" --formatting=<flags> Specify the formatting options for text output.\n"
|
||||||
" <flags> is a comma separated list of formatting flags,\n"
|
" <flags> is a comma separated list of formatting flags,\n"
|
||||||
" optionally prefixed by '+' or '-'. Valid flags are\n"
|
" optionally prefixed by '+' or '-'. Valid flags are\n"
|
||||||
" 'colour', 'indent', 'offsets', 'header', and 'raw-ids'.\n"
|
" 'colour', 'indent', 'offsets', 'header', 'raw-ids',\n"
|
||||||
" The 'indent' and 'header' flags are enabled by default.\n"
|
" and 'signatures'. The 'indent' and 'header' flags are\n"
|
||||||
|
" enabled by default.\n"
|
||||||
" --fragment-coordinate-origin=<origin>\n"
|
" --fragment-coordinate-origin=<origin>\n"
|
||||||
" Specify the origin of fragment coordinates for SPIR-V\n"
|
" Specify the origin of fragment coordinates for SPIR-V\n"
|
||||||
" targets. Valid values are 'upper-left' (default) and\n"
|
" targets. Valid values are 'upper-left' (default) and\n"
|
||||||
@ -300,11 +301,12 @@ static bool parse_formatting(uint32_t *formatting, bool *colour, char *arg)
|
|||||||
}
|
}
|
||||||
opts[] =
|
opts[] =
|
||||||
{
|
{
|
||||||
{"colour", VKD3D_SHADER_COMPILE_OPTION_FORMATTING_COLOUR},
|
{"colour", VKD3D_SHADER_COMPILE_OPTION_FORMATTING_COLOUR},
|
||||||
{"indent", VKD3D_SHADER_COMPILE_OPTION_FORMATTING_INDENT},
|
{"indent", VKD3D_SHADER_COMPILE_OPTION_FORMATTING_INDENT},
|
||||||
{"offsets", VKD3D_SHADER_COMPILE_OPTION_FORMATTING_OFFSETS},
|
{"offsets", VKD3D_SHADER_COMPILE_OPTION_FORMATTING_OFFSETS},
|
||||||
{"header", VKD3D_SHADER_COMPILE_OPTION_FORMATTING_HEADER},
|
{"header", VKD3D_SHADER_COMPILE_OPTION_FORMATTING_HEADER},
|
||||||
{"raw-ids", VKD3D_SHADER_COMPILE_OPTION_FORMATTING_RAW_IDS},
|
{"raw-ids", VKD3D_SHADER_COMPILE_OPTION_FORMATTING_RAW_IDS},
|
||||||
|
{"signatures", VKD3D_SHADER_COMPILE_OPTION_FORMATTING_IO_SIGNATURES},
|
||||||
};
|
};
|
||||||
char *tok;
|
char *tok;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user