diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2019-08-29 03:19:45 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2019-08-29 03:19:45 +0200 |
| commit | 6fd369da788af269309a99268c94d11247aefcf3 (patch) | |
| tree | 211dfd4bc2ef94a8265632adfebdfe640733f6d8 | |
| parent | e1f6d516bd0beefa7c3e2358f37a5d67febf7a38 (diff) | |
update readmes
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | SpirVTasks/README.md | 16 |
2 files changed, 9 insertions, 8 deletions
@@ -7,6 +7,7 @@ </a> </p> </h1> + # Vulkan net low-level bindings. <a href="https://www.nuget.org/packages/Vulkan"><img src="https://buildstats.info/nuget/Vulkan"></a> diff --git a/SpirVTasks/README.md b/SpirVTasks/README.md index 1935054..e1278a3 100644 --- a/SpirVTasks/README.md +++ b/SpirVTasks/README.md @@ -11,32 +11,32 @@ </p> </h1> -SpirVTasks nuget package add SpirV compilation support to msbuild project. Resulting `.spv` -files will be embedded with the resource ID = ProjectName.file.ext.spv. +**SpirVTasks** package add **SpirV** compilation support to msbuild project. Error and warning +are transmited to the **IDE**. Resulting `.spv` files will be embedded with the resource ID = ProjectName.file.ext.spv. -Add glsl files to your project with the **`GLSLShader`** tag. +Add glsl files to your project with the **`<GLSLShader>`** tag. ```xml <ItemGroup> - <GLSLShader Include="shaders\*.frag;shaders\*.vert;shaders\*.comp;shaders\*.geom" /> + <GLSLShader Include="shaders\*.frag;shaders\*.vert;shaders\*.comp;shaders\*.geom" /> </ItemGroup> ``` The add-on will search for **glslc** executable with the **VULKAN_SDK** or **PATH** environments variables. -You may also point to glslc with the **`SpirVglslcPath`** property (>= 0.1.7), but if the property is set. +You may also point to glslc with the **`<SpirVglslcPath>`** property (>= 0.1.7), but if the property is set. ```xml <PropertyGroup> - <SpirVglslcPath>bin\glslc.exe</SpirVglslcPath> + <SpirVglslcPath>bin\glslc.exe</SpirVglslcPath> </PropertyGroup> ``` I've added an **include** mechanism for glsl, file are searched from the location of the current parsed file, -then in the **`SpirVAdditionalIncludeDirectories`** directories property. +then in the **`<SpirVAdditionalIncludeDirectories>`** directories property. ```xml <PropertyGroup> - <SpirVAdditionalIncludeDirectories>$(MSBuildThisFileDirectory)common\shaders</SpirVAdditionalIncludeDirectories> + <SpirVAdditionalIncludeDirectories>$(MSBuildThisFileDirectory)common\</SpirVAdditionalIncludeDirectories> </PropertyGroup> ``` |