Skip to content

Commit

Permalink
Clarify description of --format argument for create when used with --…
Browse files Browse the repository at this point in the history
…encode (#873)

Fixes #871.
  • Loading branch information
aqnuep authored Mar 21, 2024
1 parent e085435 commit 5414bd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/cts
4 changes: 2 additions & 2 deletions tools/ktx/command_create.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ struct OptionsCreate {
(kFormat, "KTX format enum that specifies the image data format."
" The enum names are matching the VkFormats without the VK_FORMAT_ prefix."
" The VK_FORMAT_ prefix is ignored if present."
"\nWhen used with --encode it specifies the format of the input files before the encoding step."
"\nWhen used with --encode it specifies the target format before the encoding step."
" In this case it must be one of:"
"\n R8_UNORM"
"\n R8_SRGB"
Expand Down Expand Up @@ -671,7 +671,7 @@ Create a KTX2 file from various input files.
<dd>KTX format enum that specifies the image data format.
The enum names are matching the VkFormats without the VK_FORMAT_ prefix.
The VK_FORMAT_ prefix is ignored if present.<br />
When used with --encode it specifies the format of the input files before the encoding step.
When used with --encode it specifies the target format before the encoding step.
In this case it must be one of:
<ul>
<li>R8_UNORM</li>
Expand Down

0 comments on commit 5414bd0

Please sign in to comment.