On Tue Apr 2 13:57:48 2024 +0000, Henri Verbeet wrote:
Would it make sense to start namespacing options that only apply to
some shader types or profiles? For example using `--fx-include-empty-buffers` or even `--fx4-include-empty-buffers`. Not necessarily this time, but maybe start thinking about it. Also for HLSL options, for example: `--hlsl-profile` and `--hlsl-semantic-compat-map` instead of what we have now. Broadly yes, although I don't think we should just remove the existing options; at best we could deprecate them and remove them from --help.
+ " --include-empty-buffers\n" + " Write empty constant buffers
descriptions. This option is only meaningful\n"
" for fx_4_0 and fx_4_1 profiles.\n"
That line is a bit long; we try not to go over 80 columns in the --help output. We could potentially do line-breaking at run-time though, that would also allow us to eventually use the actual terminal width, which may very well be a bit wider than 80 columns.
Thanks, adjusted both. I used "fx" prefix, "fx4" seems too specific.