mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-27 09:29:15 -05:00
VS: Add source file properties to set the hlsl shader entry point and model
Create properties VS_SHADER_ENTRYPOINT and VS_SHADER_MODEL. Without these many .hlsl source files may not be possible to use. Extend the VSWinStorePhone test project to cover them.
This commit is contained in:
committed by
Brad King
parent
433c6d4689
commit
2a224b4ce3
@@ -310,8 +310,10 @@ Other
|
||||
|
||||
* The Visual Studio generators learned to treat ``.hlsl`` source
|
||||
files as High Level Shading Language sources (using ``FXCompile``
|
||||
in ``.vcxproj`` files). A :prop_sf:`VS_SHADER_TYPE` source file
|
||||
property was added to specify the Shader Type.
|
||||
in ``.vcxproj`` files). Source file properties
|
||||
:prop_sf:`VS_SHADER_TYPE`, :prop_sf:`VS_SHADER_MODEL`, and
|
||||
:prop_sf:`VS_SHADER_ENTRYPOINT` were added added to specify the
|
||||
shader type, model, and entry point name.
|
||||
|
||||
New Diagnostics
|
||||
===============
|
||||
|
||||
Reference in New Issue
Block a user