Skip to content

Commit

Permalink
Update version to 1.3.3 (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentlb authored Jan 28, 2023
1 parent 6d073f0 commit 27ab58d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ $ mono shader_minifier.exe # Linux, Mac...

```
USAGE: Shader Minifier [--help] [-o <string>] [-v] [--hlsl]
[--format <text|indented|c-variables|c-array|js|nasm>]
[--format <text|indented|c-variables|c-array|js|nasm|rust>]
[--field-names <rgba|xyzw|stpq>] [--preserve-externals]
[--preserve-all-globals] [--no-inlining]
[--aggressive-inlining] [--no-renaming]
Expand All @@ -112,7 +112,7 @@ OPTIONS:
-o <string> Set the output filename (default is shader_code.h)
-v Verbose, display additional information
--hlsl Use HLSL (default is GLSL)
--format <text|indented|c-variables|c-array|js|nasm>
--format <text|indented|c-variables|c-array|js|nasm|rust>
Choose to format the output (use 'text' if you want
just the shader)
--field-names <rgba|xyzw|stpq>
Expand All @@ -135,8 +135,7 @@ OPTIONS:
--no-sequence Do not use the comma operator trick
--smoothstep Use IQ's smoothstep trick
--no-remove-unused Do not remove unused code
--move-declarations
Move declarations to group them
--move-declarations Move declarations to group them
--help display this list of options.
```

Expand All @@ -148,8 +147,8 @@ In short:
If you pass `-` for the output, it will be printed on stdout.

* Use `--format` to control the output format. By default, it will create a C
header. There are other options to get only the shader, or have it in a .js or
nasm file.
header. There are other options to get only the shader, or have it in a
Javascript, Rust, or nasm file.

## Tips

Expand Down
2 changes: 1 addition & 1 deletion src/options.fs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
open System.IO
open Argu

let version = "1.3.2" // Shader Minifier version
let version = "1.3.3" // Shader Minifier version
let debugMode = false

type OutputFormat =
Expand Down

0 comments on commit 27ab58d

Please sign in to comment.