mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 05:50:42 +00:00
025221df2a
Add `VS_SHADER_DISABLE_OPTIMIZATIONS` and `VS_SHADER_ENABLE_DEBUG` source file properties to control these settings on `.hlsl` files in the VS generator. Fixes: #17406
7 lines
266 B
ReStructuredText
7 lines
266 B
ReStructuredText
VS_SHADER_ENABLE_DEBUG
|
|
----------------------
|
|
|
|
Enable debugging information for an ``.hlsl`` source file. This adds the
|
|
``-Zi`` flag to the command line for the FxCompiler tool. Specify the value
|
|
``true`` to generate debugging information for the compiled shader.
|