Skip to content

Commit

Permalink
spirv-val: Fix indentation of --version output (KhronosGroup#5686)
Browse files Browse the repository at this point in the history
The last three elements in the list of supported targets were
misaligned:

```
Targets:
  SPIR-V 1.0
  SPIR-V 1.1
  ...
  SPIR-V 1.3 (under Vulkan 1.1 semantics)
 SPIR-V 1.4 (under Vulkan 1.1 semantics)
 SPIR-V 1.5 (under Vulkan 1.2 semantics)
 SPIR-V 1.6 (under Vulkan 1.3 semantics)
```

Signed-off-by: Sven van Haastregt <[email protected]>
  • Loading branch information
svenvh authored May 30, 2024
1 parent 7e1a8cd commit 142bf7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/val/val.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ int main(int argc, char** argv) {
printf("%s\n", spvSoftwareVersionDetailsString());
printf(
"Targets:\n %s\n %s\n %s\n %s\n %s\n %s\n %s\n %s\n %s\n "
"%s\n %s\n %s\n %s\n",
"%s\n %s\n %s\n %s\n",
spvTargetEnvDescription(SPV_ENV_UNIVERSAL_1_0),
spvTargetEnvDescription(SPV_ENV_UNIVERSAL_1_1),
spvTargetEnvDescription(SPV_ENV_UNIVERSAL_1_2),
Expand Down

0 comments on commit 142bf7d

Please sign in to comment.