]> O.S.I.I.S - jp/vke.net.git/commitdiff
netstandard for libs, netcoreapp for application (or net47x)
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Thu, 12 Sep 2019 19:09:17 +0000 (21:09 +0200)
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Thu, 12 Sep 2019 19:09:17 +0000 (21:09 +0200)
82 files changed:
.travis.yml
SpirVTasks/SpirVTasks.csproj
SpirVTasks/SpirVTasks.targets
addons/Directory.Build.props
addons/DistanceFieldFont/BMFont.cs
addons/DistanceFieldFont/DistanceFieldFont.csproj
addons/VkvgPipeline/VkvgPipeline.cs
addons/VkvgPipeline/VkvgPipeline.csproj
addons/gltfLoader/PbrModel.cs
addons/gltfLoader/PbrModelSeparateTextures.cs
addons/gltfLoader/PbrModelTexArray.cs
addons/gltfLoader/glTFLoader.cs
addons/gltfLoader/gltfLoader.csproj
samples/Directory.Build.props
samples/DistanceFieldFontTest/DistanceFieldFontTest.csproj
samples/DistanceFieldFontTest/Program.cs
samples/Model/Model.csproj
samples/Model/main.cs
samples/Textured/Textured.csproj
samples/Textured/main.cs
samples/TexturedCube/TexturedCube.csproj
samples/TexturedCube/main.cs
samples/Triangle/Triangle.csproj
samples/Triangle/main.cs
samples/common/CrowWin.cs
samples/compute/compute.csproj
samples/compute/delaunay.cs
samples/deferred/DeferredPbrRenderer.cs
samples/deferred/EnvironmentPipeline.cs
samples/deferred/deferred.csproj
samples/deferred/main-crow.cs
samples/deferred/main.cs
samples/deferred/shadowMapRenderer.cs
samples/pbr/EnvironmentPipeline.cs
samples/pbr/PbrModel.cs
samples/pbr/PbrPipeline.cs
samples/pbr/main.cs
samples/pbr/pbr.csproj
vke/src/ExtensionMethods.cs
vke/src/FixedUtf8String.cs
vke/src/MemoryPool.cs
vke/src/ResourceManager.cs
vke/src/ShaderInfo.cs
vke/src/SpecializationConstant.cs
vke/src/Utils.cs
vke/src/VertexAttribute.cs
vke/src/VkFormatSize.cs
vke/src/VkWindow.cs
vke/src/base/Activable.cs
vke/src/base/Buffer.cs
vke/src/base/CommandBuffer.cs
vke/src/base/CommandPool.cs
vke/src/base/ComputePipeline.cs
vke/src/base/DebuDrawPipeline.cs
vke/src/base/DebugReport.cs
vke/src/base/DebugUtilsMessenger.cs
vke/src/base/DescriptorPool.cs
vke/src/base/DescriptorSet.cs
vke/src/base/DescriptorSetLayout.cs
vke/src/base/DescriptorSetWrites.cs
vke/src/base/Device.cs
vke/src/base/FrameBuffer.cs
vke/src/base/GPUBuffer.cs
vke/src/base/GraphicPipeline.cs
vke/src/base/GraphicPipelineConfig.cs
vke/src/base/HostBuffer.cs
vke/src/base/Image.cs
vke/src/base/Instance.cs
vke/src/base/PhysicalDevice.cs
vke/src/base/Pipeline.cs
vke/src/base/PipelineCache.cs
vke/src/base/PipelineLayout.cs
vke/src/base/QueryPool.cs
vke/src/base/Queue.cs
vke/src/base/RenderPass.cs
vke/src/base/Resource.cs
vke/src/base/SubPass.cs
vke/src/base/SwapChain.cs
vke/src/gl.cs
vke/src/ktx.cs
vke/src/model/Model.cs
vke/vke.csproj

index 610673ee2baa4b29100908fbe5f39bb37db3fef4..ce0f5775c4fdb0bc2b6012ad9ea27ee9c2228f5e 100644 (file)
@@ -1,12 +1,10 @@
 language: csharp
-dist: xenial
+dist: bionic
  
-dotnet: 2.1.502
+dotnet: 2.2.401-1
 mono: latest
 
 script:
-    - nuget restore 
-    - msbuild 
-    - dotnet restore
-    - dotnet build 
+    - msbuild /t:restore
+    - msbuild
     
index 314ddc72ae1c02fc2a769b1519e28b2281be0079..2c6a7f5771d6fe52af35e8addf3142e77992523e 100644 (file)
@@ -1,7 +1,7 @@
 <Project Sdk="Microsoft.NET.Sdk">
     <PropertyGroup>
-        <TargetFrameworks>net471;netstandard2.0</TargetFrameworks>
-        <AssemblyVersion>0.1.9</AssemblyVersion>
+        <TargetFrameworks>netstandard2.0</TargetFrameworks>
+        <AssemblyVersion>0.1.10</AssemblyVersion>
         <Description>MSBuild addon to compile and embed spirV shaders</Description>
 
         <PackageId>SpirVTasks</PackageId>
index 690712f548685771c212b4550e24a1a8815b72f7..9138d21551fff5b20397700ac410f90f29367d67 100644 (file)
@@ -1,5 +1,5 @@
 <Project>
-  <UsingTask AssemblyFile="$(MSBuildThisFileDirectory)..\lib\$(TargetFramework)\SpirVTasks_$(TargetFramework).dll" TaskName="SpirVTasks.CompileGLSLTask" />
+  <UsingTask AssemblyFile="$(MSBuildThisFileDirectory)..\lib\netstandard2.0\SpirVTasks_netstandard2.0.dll" TaskName="SpirVTasks.CompileGLSLTask" />
   <ItemGroup>
     <PropertyPageSchema Include="$(MSBuildThisFileDirectory)spirv.xml" />
     <AvailableItemName Include="GLSLShader">
index 224a27ac805e8ad6d7a2cf4881a8ffa5a6b294c1..20d44d44f82fba74e09a6be696ab7726312b09fa 100644 (file)
@@ -3,7 +3,7 @@
                <RootDirectory>$(MSBuildThisFileDirectory)../</RootDirectory>
                <Deterministic>true</Deterministic>
 
-               <TargetFrameworks>net471;netstandard2.0</TargetFrameworks>
+               <TargetFrameworks>netstandard2.0</TargetFrameworks>
 
                <RepositoryUrl>https://github.com/jpbruyere/vke.net</RepositoryUrl>
                <License>MIT</License>
        </PropertyGroup>        
        
        <ItemGroup>
-                               <!--<PackageReference Include="vke" Version="0.1.7" />-->
+                               <!--<PackageReference Include="vke" Version="0.1.8-beta" />-->
     <ProjectReference Include="..\..\vke\vke.csproj" />
-               <PackageReference Include="SpirVTasks" Version="0.1.9-beta" />        
-               <PackageReference Include="Vulkan" Version="0.1.4" />
+               <PackageReference Include="SpirVTasks" Version="0.1.10-beta" />        
+               <!--<PackageReference Include="Vulkan" Version="0.1.4" />-->
        </ItemGroup>    
 
        <ItemGroup>
index 824d2657286f1b5c4c5ace99ff6e6342637c668e..9b0a704cce66893ddcf0ead3457f5ccf58b97c56 100644 (file)
@@ -5,7 +5,7 @@ using System;
 using System.Collections.Generic;
 using System.IO;
 using System.Reflection;
-using VK;
+using Vulkan;
 
 namespace vke.DistanceFieldFont {
        /// <summary>
index a131f277103099a1c458c3f25ffa39e82d407df6..69eb42c8e4bca1c5a221f9e1926cd4c997b546b5 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
-
-  <Import Project="$(RootDirectory)netfx.props" />
+  
   <PropertyGroup>
     <AssemblyName>CVKL.DistanceFieldFont</AssemblyName>
     <PackageId>CVKL.DistanceFieldFont</PackageId>
index 62e852be28c58bc8add89cd18d57590dbc65d8b2..6507078084d3d89def87543ea090f941cb173bea 100644 (file)
@@ -4,7 +4,7 @@
 using System;
 using System.Numerics;
 using vke;
-using VK;
+using Vulkan;
 
 namespace VkvgPipeline {
 
index 3d0759849c3a64465508f14a39cb9c3021650ea5..0afcfa266460b9d69d8e9440f926fb4fb0a0a66e 100644 (file)
@@ -1,6 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
-
-  <Import Project="$(RootDirectory)netfx.props" />
+  
   <PropertyGroup>
     <AssemblyName>CVKL.vkvgPipeline</AssemblyName>
     <PackageId>CVKL.vkvgPipeline</PackageId>
index 11f28b520e4af1bdf147980ac05f12f9fdd743ca..7fe2d84f1d692f6e1c439b2443854a81b0034946 100644 (file)
@@ -5,7 +5,7 @@ using System.Diagnostics;
 using System.Numerics;
 using System.Runtime.InteropServices;
 
-using VK;
+using Vulkan;
 using System.Collections.Generic;
 
 namespace vke.glTF {
index de2f67af3d9f7a86e97c059b0073c6b070185908..90215c614a9056eb264617ab336e040f9b5527d9 100644 (file)
@@ -5,7 +5,7 @@ using System;
 using System.Diagnostics;
 using System.Numerics;
 using System.Runtime.InteropServices;
-using VK;
+using Vulkan;
 
 namespace vke.glTF {
        /// <summary>
index 7c07de0d9cf9b3a7b37c26f59d8fa186f5116cad..8ac9d0f09a15da9913ed2598bb175f6d7b81ae54 100644 (file)
@@ -4,7 +4,7 @@
 using System.Diagnostics;
 using System.Numerics;
 using System.Runtime.InteropServices;
-using VK;
+using Vulkan;
 
 namespace vke.glTF {
        /// <summary>
index 936db08ddca79aa95cca2dcb5bcfb604e6c1721a..50ad8dc9da1868afd0cdce36f66fa1ee87e7b76d 100644 (file)
@@ -8,14 +8,14 @@ using System.Runtime.InteropServices;
 using glTFLoader;
 using GL = glTFLoader.Schema;
 
-using VK;
+using Vulkan;
 using System.Collections.Generic;
 using System.IO;
 
 
 
 namespace vke.glTF {
-       using static VK.Utils;
+       using static Vulkan.Utils;
        using static vke.Model;
 
        /// <summary>
index a439773c8d8b5301a6983d23faea47e59c6cecc8..543c3bf9bc53296143c09493eddf102c51c45bc0 100644 (file)
@@ -1,5 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
-  <Import Project="$(RootDirectory)netfx.props" />
+  
   <PropertyGroup>
     <AssemblyName>CVKL.gltfLoader</AssemblyName>
     <PackageId>CVKL.gltfLoader</PackageId>
index 8c1d092d33b827575b6b5dffd70c1dc23a8786f0..31d7523af807f70fa5a61d6f67a469db81f911ef 100644 (file)
@@ -3,7 +3,7 @@
                <RootDirectory>$(MSBuildThisFileDirectory)../</RootDirectory>
                <Deterministic>true</Deterministic>
 
-               <TargetFrameworks>net471;netstandard2.0</TargetFrameworks>
+               <TargetFrameworks>net471</TargetFrameworks>
 
                <RepositoryUrl>https://github.com/jpbruyere/vke.net</RepositoryUrl>
                <License>MIT</License>
        </PropertyGroup>
                
        <ItemGroup>
-               <!--<PackageReference Include="vke" Version="0.1.7" />-->
+               <!--<PackageReference Include="vke" Version="0.1.8-beta" />-->
     <ProjectReference Include="..\..\vke\vke.csproj" />
-               <PackageReference Include="SpirVTasks" Version="0.1.9-beta" />     
-               <PackageReference Include="Vulkan" Version="0.1.4" />        
+               <PackageReference Include="SpirVTasks" Version="0.1.10-beta" />     
+               <!--<PackageReference Include="Vulkan" Version="0.1.4" />        -->
        </ItemGroup>    
 
        <ItemGroup>    
index c603527c78df8dd43f1114e2d01e0c20c3f50806..ce23dc6718abbd70f35df125b3ab45e06f091939 100644 (file)
@@ -1,9 +1,5 @@
-<Project Sdk="Microsoft.NET.Sdk">
-  <Import Project="$(RootDirectory)netfx.props" />
+<Project Sdk="Microsoft.NET.Sdk">  
   <ItemGroup>
     <ProjectReference Include="..\..\addons\DistanceFieldFont\DistanceFieldFont.csproj" />
   </ItemGroup>
-  <ItemGroup>
-    <Folder Include="shaders\" />
-  </ItemGroup>
 </Project>
index 6ba6039bf812852e50f0c13b2f8aa45d1f5bb410..3c16773f7f6db2ee694bc0d511a6148bbba4386a 100644 (file)
@@ -3,7 +3,7 @@ using System.Numerics;
 using System.Runtime.InteropServices;
 using Glfw;
 
-using VK;
+using Vulkan;
 using vke;
 using vke.DistanceFieldFont;
 
index d6da2bbef3b6e589e82b78a4c0cdff26642d2798..6ad34e92c3d7d51e8400e8f833941afac8c26ae8 100644 (file)
@@ -1,7 +1,5 @@
 <Project Sdk="Microsoft.NET.Sdk">
-  <Import Project="$(RootDirectory)netfx.props" />     
   <ItemGroup>
     <ProjectReference Include="..\..\addons\gltfLoader\gltfLoader.csproj" />
   </ItemGroup>
-
 </Project>
index dbea068db9c5f2cc958b9407778f5bfade0b12b8..9acc570b288e941e9024055b4e5cdc631cb50790 100644 (file)
@@ -5,7 +5,7 @@ using System.Numerics;
 using System.Runtime.InteropServices;
 using vke;
 using vke.glTF;
-using VK;
+using Vulkan;
 
 namespace ModelSample
 {
index 1785b4a954514d1191db13454b5b7542b89c0a33..bd178d8f7d7a215723d442637568ad8a01bf968d 100644 (file)
@@ -1,6 +1,4 @@
 <Project Sdk="Microsoft.NET.Sdk">
-  <Import Project="$(RootDirectory)netfx.props" />
-    
   <ItemGroup>
     <PackageReference Include="glTF2Loader" Version="1.1.3-alpha" />
   </ItemGroup>        
index 41c3454e888db01ca61c3e8a62c700001435b6c2..3cff23ca15c942e1a01529024fa1c4d97fe4b1b1 100644 (file)
@@ -3,7 +3,7 @@ using System.Numerics;
 using System.Runtime.InteropServices;
 using Glfw;
 using vke;
-using VK;
+using Vulkan;
 
 namespace Textured {
        class Program : VkWindow {
index 8235ef115f6e6d0dcb2c1337290fb0c1041835f0..a2f41d2955374eb7f67353c0ceb226a434c669e9 100644 (file)
@@ -1,5 +1,4 @@
 <Project Sdk="Microsoft.NET.Sdk">
-  <Import Project="$(RootDirectory)netfx.props" />     
   <ItemGroup>
     <ProjectReference Include="..\..\addons\VkvgPipeline\VkvgPipeline.csproj" />
   </ItemGroup>
index 88d409e90485991eb3f61cda50746c865150df9d..8a3336a1d23161d175fafaed737ad5765b83cff7 100644 (file)
@@ -6,7 +6,7 @@ using System.Numerics;
 using System.Runtime.InteropServices;
 using Glfw;
 using vke;
-using VK;
+using Vulkan;
 using Buffer = vke.Buffer;
 
 namespace TextureCube {
index 25c90c06aa95a501751636524bbaee24e0bb6095..3cf038685d68e919b838b17d9d90e8134e1c42e9 100644 (file)
@@ -1,6 +1,5 @@
-<Project Sdk="Microsoft.NET.Sdk">
-  <Import Project="$(RootDirectory)netfx.props" />
-  <PropertyGroup>
+<Project Sdk="Microsoft.NET.Sdk">  
+  <PropertyGroup>              
     <IncludeDefaultNoneItems>false</IncludeDefaultNoneItems>
   </PropertyGroup>  
 </Project>
index cb9918e260b68a5f6e4de1b976c2bb9dbdf9404e..9addb88685a2c6084a4d7be46ba1c9d53222dc48 100644 (file)
@@ -4,7 +4,7 @@
 using System.Numerics;
 using System.Runtime.InteropServices;
 using vke;
-using VK;
+using Vulkan;
 
 namespace Triangle {
        class Program : VkWindow {
index d7d9f8a75b0e86831e8d611b8845dfb6d0ea8356..cd440b083d2f03b16cd4b38c9a2dd5c390df4e6f 100644 (file)
@@ -1,6 +1,6 @@
 using System;
 using Glfw;
-using VK;
+using Vulkan;
 using System.Threading;
 
 namespace Crow {
index e1734ff3beb0016f627474d111ed10607977110d..02579c9c732d7f0ce73a77bee9597ad6db9bb482 100644 (file)
@@ -1,5 +1,4 @@
-<Project Sdk="Microsoft.NET.Sdk">
-  <Import Project="$(RootDirectory)netfx.props" />
+<Project Sdk="Microsoft.NET.Sdk">  
   <PropertyGroup>    
     <EnableDefaultCompileItems>false</EnableDefaultCompileItems>
   </PropertyGroup>
index aba1418761525ca7a5c8032e748ee41043698508..88673020758193824b631e56696c3678d6c15238 100644 (file)
@@ -1,6 +1,6 @@
 using System;
 using Glfw;
-using VK;
+using Vulkan;
 using vke;
 
 namespace delaunay {
index 540de6a9cd4131f4a83206d86b1b81f3447519a3..6e35aed3d9dc91e24b94c782eba8545aaaa41046 100644 (file)
@@ -3,7 +3,7 @@ using System.Numerics;
 using System.Runtime.InteropServices;
 using vke;
 using vke.glTF;
-using VK;
+using Vulkan;
 
 namespace deferred {
        public class DeferredPbrRenderer : IDisposable {
index 0716c01d643f00bf4cc6c5a88cb16ad000d75cbf..1550b6beff12b0af59f3fc4c501a7a3d62d326a8 100644 (file)
@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Numerics;
 using System.Runtime.InteropServices;
-using VK;
+using Vulkan;
 
 namespace vke {
        public class EnvironmentCube : GraphicPipeline {
index 89a5f389aad067ea6a78c6dbf262b6f146c22ccd..d6d3df9ab164cc0bcffd28fa2642181307c8d366 100644 (file)
@@ -1,5 +1,4 @@
-<Project Sdk="Microsoft.NET.Sdk">
-  <Import Project="$(RootDirectory)netfx.props" />
+<Project Sdk="Microsoft.NET.Sdk">  
   <PropertyGroup>    
     <EnableDefaultCompileItems>false</EnableDefaultCompileItems>        
 <!--    <EnableDefaultNoneItems>false</EnableDefaultNoneItems>     -->
index 2a2301bcd0b800cfeb37ed278c544ee4fcde4956..20f656697aad26836596fd6c2329882deff40ee4 100644 (file)
@@ -1,7 +1,7 @@
 using System;
 using System.Numerics;
 using Glfw;
-using VK;
+using Vulkan;
 using vke;
 using System.Collections.Generic;
 using System.Linq;
index 46386618bf25b1d45f2fbb11bb3d0d16d96bbda7..b12d5204730b1ea4914e068728a0954f40bd165c 100644 (file)
@@ -4,7 +4,7 @@ using System.Runtime.InteropServices;
 using vke;
 using vke.glTF;
 using Glfw;
-using VK;
+using Vulkan;
 
 namespace deferred {
        class Deferred : VkWindow {
index 60da3782c8ff34783986636c4752a866cebcdfbb..41bc1200a643cd80f67ba0fcdab73128f7672447 100644 (file)
@@ -8,7 +8,7 @@ using System.Numerics;
 using System.Runtime.InteropServices;
 using vke;
 using vke.glTF;
-using VK;
+using Vulkan;
 using static deferred.DeferredPbrRenderer;
 
 namespace deferred {
index 06636f77f56d973b3e9e5b8c4a75278a3c27788d..c4f883cb7bece9c5100ef34768d256b2626b1a42 100644 (file)
@@ -2,7 +2,7 @@
 using System.Collections.Generic;
 using System.Numerics;
 using System.Runtime.InteropServices;
-using VK;
+using Vulkan;
 
 namespace vke {
        class EnvironmentCube : GraphicPipeline {
index e4a516d3de9e700407c87775a10da6a9938a3c2a..a598f369fa856063711eb3ff31107d35c15e42fb 100644 (file)
@@ -4,7 +4,7 @@
 using System.Numerics;
 using System.Runtime.InteropServices;
 
-using VK;
+using Vulkan;
 
 namespace vke {
        using vke.glTF;
index 94abe0904e1289146c11b103b6409a908df64798..a16c67ddf087c95eaa0f869e9a058f329b1584c9 100644 (file)
@@ -5,7 +5,7 @@
 using System;
 using System.Numerics;
 using System.Runtime.InteropServices;
-using VK;
+using Vulkan;
 
 namespace vke {
        class PBRPipeline : GraphicPipeline {
index 35d9db7f9bdb2bee804a1759a2b9177290369139..45ee433b0aef00ff7b9aa8b7c611b83283535f70 100644 (file)
@@ -9,7 +9,7 @@ using System;
 using System.Numerics;
 using System.Runtime.InteropServices;
 using Glfw;
-using VK;
+using Vulkan;
 using vke;
 
 namespace pbrSample {
index c3fa145776f51d6d5ae900e06916a6cafcfa4852..c7e287b7308a0108a66465e850dc88467bdcde2e 100644 (file)
@@ -1,5 +1,4 @@
 <Project Sdk="Microsoft.NET.Sdk">
-  <Import Project="$(RootDirectory)netfx.props" />
   <PropertyGroup>    
     <EnableDefaultNoneItems>false</EnableDefaultNoneItems>    
   </PropertyGroup>
index 34c1740ca9e739e11ec7d037886dcdf82471431f..df7d5e6055f950de43f52477c6690a1d66bf12f5 100644 (file)
@@ -4,10 +4,11 @@
 using System;
 using System.Collections.Generic;
 using System.Diagnostics;
+using System.Linq;
 using System.Runtime.InteropServices;
 
-using VK;
-using static VK.Vk;
+using Vulkan;
+using static Vulkan.Vk;
 
 namespace vke {
        public static class ExtensionMethods {
index 7b3d7a6b38db9d4253bcd4d026c8d065f56baddc..9d11cfd6294e66dbff094b00ee541b07b9fbe450 100644 (file)
@@ -2,14 +2,14 @@
 using System.Runtime.InteropServices;
 using System.Text;
 
-namespace VK
+namespace Vulkan
 {
-    public unsafe class FixedUtf8String : IDisposable
+    public class FixedUtf8String : IDisposable
     {
         GCHandle _handle;
         uint _numBytes;
 
-        public byte* StringPtr => (byte*)_handle.AddrOfPinnedObject().ToPointer();
+        public IntPtr Ptr => _handle.AddrOfPinnedObject();
 
         public FixedUtf8String(string s)
         {
@@ -38,16 +38,10 @@ namespace VK
 
         private string GetString()
         {
-            return Encoding.UTF8.GetString(StringPtr, (int)_numBytes);
+            return Marshal.PtrToStringUni(Ptr);
         }
-
-        //public void Dispose()
-        //{
-        //    _handle.Free();
-        //}
-
-        public static implicit operator byte* (FixedUtf8String utf8String) => utf8String.StringPtr;
-        public static implicit operator IntPtr (FixedUtf8String utf8String) => utf8String._handle.AddrOfPinnedObject ();
+        
+        public static implicit operator IntPtr (FixedUtf8String utf8String) => utf8String.Ptr;
         public static implicit operator FixedUtf8String(string s) => new FixedUtf8String(s);
         public static implicit operator string(FixedUtf8String utf8String) => utf8String.GetString();
 
index 6706c49c676262d29b67de7d56c5abf48e5873e4..f3fc11b50bc727cbd8ec32e3408a55bf2dd6c2ac 100644 (file)
@@ -2,9 +2,9 @@
 //
 // This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
 using System;
-using VK;
+using Vulkan;
 
-using static VK.Vk;
+using static Vulkan.Vk;
 
 namespace vke {
 #if MEMORY_POOLS
index c01afda8545727d746515f16b87f902e45aceab4..c8b2028b3e7f67f27026d3e6453dbca1a680d957 100644 (file)
@@ -1,5 +1,5 @@
 using System;
-using VK;
+using Vulkan;
 
 namespace vke {
 #if MEMORY_POOLS
index 0762801eaab951acfb8a7679e9671f099b13457b..d95db2d843946a0075d639018a2bfb7999022478 100644 (file)
@@ -2,7 +2,7 @@
 //
 // This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
 using System;
-using VK;
+using Vulkan;
 
 namespace vke {
        /// <summary>
index 91d43565b43739086f14d847394002f8dd470213..aca290fb3cfc5ffc1ac0645e9ca622c75ff530cb 100644 (file)
@@ -26,7 +26,7 @@
 using System;
 using System.Collections.Generic;
 using System.Runtime.InteropServices;
-using VK;
+using Vulkan;
 
 namespace vke {
        /// <summary>
index 3ac89286b5171363712f2729f00261375b161b8d..b2a3801ea86591eda5f4b7ac7521101582d86168 100644 (file)
@@ -4,7 +4,7 @@
 using System;
 using System.Numerics;
 
-namespace VK {
+namespace Vulkan {
        public static partial class Utils {
                public static string DataDirectory => "../../../datas/";
                /// <summary>Throw an erro if VkResult != Success.</summary>
index 75bf5dfaf2b956399c4fafeba453a4dc3c69478e..f1d8e654a6972dbed44d7242c241f0a10e2c301e 100644 (file)
@@ -3,7 +3,7 @@
 // This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
 using System;
 
-namespace VK {
+namespace Vulkan {
        public enum VertexAttributeType {
                Position,
                Normal,
index 75e815d1147084440c22edcd72b49c46386793be..9f816f41a65648bb2ddcc987e83de5fe34dd5d9f 100644 (file)
@@ -3,7 +3,7 @@
 // This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
 using System;
 
-namespace VK {
+namespace Vulkan {
        [Flags]
        public enum VkFormatSizeFlag {
                SizePacked                              = 0x00000001,
index 125820808d0be28f196b6c596a258be3a76cceae..6d8ceb07f1924330126c220aef441abfbeb78aea 100644 (file)
@@ -6,8 +6,8 @@ using System.Collections.Generic;
 using System.Diagnostics;
 using System.Linq;
 using Glfw;
-using VK;
-using static VK.Vk;
+using Vulkan;
+using static Vulkan.Vk;
 
 namespace vke {
        /// <summary>
index 28a82ee1d5d500c4822d247f5488055b18c1b65e..13ca491e9938d3eee2ef9c40f6a227ee751b13e1 100644 (file)
@@ -2,8 +2,8 @@
 //
 // This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
 using System;
-using VK;
-using static VK.Vk;
+using Vulkan;
+using static Vulkan.Vk;
 
 namespace vke {
        /// <summary>
index 8af3517c40b8707bf8b22b54e3a8a6c79dbe0754..837a9d7f2e19ca27e5ab2381465a63e5c2fdeac1 100644 (file)
@@ -2,8 +2,8 @@
 //
 // This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
 using System;
-using VK;
-using static VK.Vk;
+using Vulkan;
+using static Vulkan.Vk;
 
 namespace vke {
 
index 9a2215803889f0825ac0ff032f25c65f7e200054..220a565f6875b9912fd8b4323dba135d9844bc04 100644 (file)
@@ -4,9 +4,9 @@
 
 using System;
 using System.Runtime.InteropServices;
-using VK;
+using Vulkan;
 
-using static VK.Vk;
+using static Vulkan.Vk;
 
 namespace vke {
        /// <summary>
index 6be3e0af150d2846319946daeb359183537c742f..d31605a0666ed39c1ff981043ca22458af66294c 100644 (file)
@@ -4,8 +4,8 @@
 
 using System;
 using System.Runtime.InteropServices;
-using VK;
-using static VK.Vk;
+using Vulkan;
+using static Vulkan.Vk;
 
 namespace vke {
        /// <summary>
index c8d9f13b91db566ef1b8d06ae7b6efae8f92b56e..3aeca895aace7a2c0114adad2b820b20af4d8fae 100644 (file)
@@ -24,8 +24,8 @@
 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 // THE SOFTWARE.
 using System;
-using VK;
-using static VK.Vk;
+using Vulkan;
+using static Vulkan.Vk;
 
 namespace vke {
     public sealed class ComputePipeline : Pipeline {
index 43aae957cdc06dd46d7cdd15ecc668a60d07f777..60eda5bbacf7734eac23b3f251fbaec38b512543 100644 (file)
@@ -1,7 +1,7 @@
 using System;
 using System.Numerics;
 using System.Runtime.InteropServices;
-using VK;
+using Vulkan;
 
 namespace vke {
        public class DebugDrawPipeline : GraphicPipeline {
index d1ce888a5473adeb153208091f76c6978fd98d8f..1e1842bdb93c2f0811e1f067b859e9d643b98f0c 100644 (file)
@@ -25,8 +25,8 @@
 // THE SOFTWARE.
 using System;
 using System.Runtime.InteropServices;
-using VK;
-using static VK.Vk;
+using Vulkan;
+using static Vulkan.Vk;
 
 namespace vke {
 
index 58c818777e928d9ea68705a47d9744b5d604f2e1..9a8339242eae7fdf6738e05047167ba215ff1aba 100644 (file)
@@ -1,7 +1,7 @@
 using System;
 using System.Runtime.InteropServices;
-using VK;
-using static VK.Vk;
+using Vulkan;
+using static Vulkan.Vk;
 
 namespace vke.DebugUtils {
 
index 7f0cde2385b4e3145065957ad9ca60137f98e491..ad8dba769c07380500637740da00c911e6bc0049 100644 (file)
@@ -4,8 +4,8 @@
 
 using System;
 using System.Collections.Generic;
-using VK;
-using static VK.Vk;
+using Vulkan;
+using static Vulkan.Vk;
 
 namespace vke {
     public sealed class DescriptorPool : Activable {
index 30482283b2ae025b8530631c9b42113df703b7e8..80c583dd0da6025a8204d525865b42d6c9d66fd7 100644 (file)
@@ -2,7 +2,7 @@
 //
 // This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
 using System.Collections.Generic;
-using VK;
+using Vulkan;
 
 namespace vke {
        public class DescriptorSet {
index 1113adc00448d6eb146f6bd140373ebc4e00f0bc..6df04fbb321659ce1b5ac35f3e37b462fcd457b2 100644 (file)
@@ -3,8 +3,8 @@
 // This code is licensed under the MIT license (MIT) (http://opensource.org/licenses/MIT)
 using System;
 using System.Collections.Generic;
-using VK;
-using static VK.Vk;
+using Vulkan;
+using static Vulkan.Vk;
 
 namespace vke {
        /// <summary>
index cbacae6069d2d678f0d4af50dff27fc9918624c1..51f8c0a967d10a1a173bad154cd0fff6c190e6d6 100644 (file)
@@ -26,8 +26,8 @@
 using System;
 using System.Collections.Generic;
 using System.Runtime.InteropServices;
-using VK;
-using static VK.Vk;
+using Vulkan;
+using static Vulkan.Vk;
 
 namespace vke {
        /// <summary>
index fcb8734c5f79547d39c42f2d55da2baeb272c470..8f61fe97c9ee78b33ebeac351b39a5ca61c3c558 100644 (file)
@@ -29,8 +29,8 @@ using System.Collections.Generic;
 using System.IO;
 using System.Linq;
 using System.Reflection;
-using VK;
-using static VK.Vk;
+using Vulkan;
+using static Vulkan.Vk;
 
 
 namespace vke {
index 2b73e7fb511db81982bbb2b83e941f47914d6dea..3260e1504e7a5c72aab4c69c65c8efaadeed2b05 100644 (file)
@@ -26,9 +26,9 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using VK;
+using Vulkan;
 
-using static VK.Vk;
+using static Vulkan.Vk;
 
 namespace vke {
 
index b670812e057286161621c8ac4338ab9f434f8aba..bebc21b823c4fe950566b931677755dd67813acc 100644 (file)
@@ -25,7 +25,7 @@
 // THE SOFTWARE.
 using System;
 using System.Runtime.InteropServices;
-using VK;
+using Vulkan;
 
 namespace vke {
 
index 5d16b2c7447fbad3c9d0c24d672576fc95845967..7f94316219be56cb1c952b2fb9901cd276eb7105 100644 (file)
@@ -25,8 +25,8 @@
 // THE SOFTWARE.
 using System;
 using System.Collections.Generic;
-using VK;
-using static VK.Vk;
+using Vulkan;
+using static Vulkan.Vk;
 
 namespace vke {
     public class GraphicPipeline : Pipeline {
index 697e62392bb105ab83f1903784b6da4578bef695..848a378d86d3fb123ecb531d8750d1358a830f8a 100644 (file)
@@ -28,8 +28,8 @@ using System.Collections.Generic;
 using System.Numerics;
 using System.Reflection;
 using System.Runtime.InteropServices;
-using VK;
-using static VK.Vk;
+using Vulkan;
+using static Vulkan.Vk;
 
 namespace vke {
     public class GraphicPipelineConfig {
index 94656145ea20d065d4ae72385015a8d78cb5fe67..65dc53eb56238420deed15725f8780dd5c0f8376 100644 (file)
@@ -26,8 +26,8 @@
 using System;
 using System.Collections.Generic;
 using System.Runtime.InteropServices;
-using VK;
-using static VK.Vk;
+using Vulkan;
+using static Vulkan.Vk;
 
 namespace vke {
        
index 96ab24ab820f000005c0039f805429480f767cc8..7b6d000539cb78a79162683ed4b730400aba4ec8 100644 (file)
@@ -25,9 +25,9 @@
 // THE SOFTWARE.
 using System;
 using System.Diagnostics;
-using VK;
+using Vulkan;
 
-using static VK.Vk;
+using static Vulkan.Vk;
 
 namespace vke {
        /// <summary>
index 2807ed2ed647e9b182d14c8d84e3b3c3e0953cdd..86e303bbdfcc3ff1174cb4a17c312b2fde90476f 100644 (file)
@@ -26,8 +26,8 @@
 using System;
 using System.Collections.Generic;
 using System.Runtime.InteropServices;
-using VK;
-using static VK.Vk;
+using Vulkan;
+using static Vulkan.Vk;
 
 namespace vke {
        /// <summary>
index 289a6292d09eb4328bd7ecdbe300a7bd5c4746f3..82e258268b5ada41d0cc7bda1c14a84dd868efcc 100644 (file)
 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 // THE SOFTWARE.
 using System;
-using VK;
-using static VK.Vk;
-using static VK.Utils;
+using Vulkan;
+using static Vulkan.Vk;
+using static Vulkan.Utils;
 using System.Collections;
 using System.Collections.Generic;
 using System.Runtime.InteropServices;
 
+using System.Linq;
+
 namespace vke {
     public class PhysicalDeviceCollection : IEnumerable<PhysicalDevice> {
         VkInstance inst;
index bb67cbc856c9c653abe1b012a8e6671fbe6c536d..19c62dee072a44d05d7b18e22fb63c438125685a 100644 (file)
@@ -24,8 +24,8 @@
 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 // THE SOFTWARE.
 using System;
-using VK;
-using static VK.Vk;
+using Vulkan;
+using static Vulkan.Vk;
 
 namespace vke {
        public abstract class Pipeline : Activable {
index 40fae4ee58597a59878cda8aa0e3f2c9215fed2f..0129cacb34925e9e4058771350ce1db874cbc33d 100644 (file)
@@ -28,9 +28,9 @@ using System.Collections.Generic;
 using System.IO;
 using System.Reflection;
 using System.Runtime.InteropServices;
-using VK;
+using Vulkan;
 
-using static VK.Vk;
+using static Vulkan.Vk;
 
 namespace vke {
        /// <summary>
index f864a1bdd4de57cde56ba6f74241f4640c095fa8..ba5c257c52ceba2c243805220577a2409676964d 100644 (file)
@@ -26,8 +26,8 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using VK;
-using static VK.Vk;
+using Vulkan;
+using static Vulkan.Vk;
 
 namespace vke {
        public sealed class PipelineLayout : Activable {
index 256e780c1c32627b09eee1d455cb3bce4ffadf1e..6dfad4417bf5fe94b92cc88bf79f46a7b1369848 100644 (file)
@@ -25,8 +25,8 @@
 // THE SOFTWARE.
 using System;
 using System.Collections.Generic;
-using VK;
-using static VK.Vk;
+using Vulkan;
+using static Vulkan.Vk;
 
 namespace vke {
        public class TimestampQueryPool : QueryPool {
index a3a3fd276a740f513aff0421f04325fba4f860fa..1dddfa0bc46fe90f4eb468e8ac0f1c25d513a28d 100644 (file)
@@ -25,9 +25,9 @@
 // THE SOFTWARE.
 using System;
 using System.Collections;
-using VK;
+using Vulkan;
 
-using static VK.Vk;
+using static Vulkan.Vk;
 
 namespace vke {
 
index 48c3278611876e4de5f4316b2d21d7ccb36a41f9..f93ddcdca7217fdfaebc5eab9c0f85fed340f9fb 100644 (file)
@@ -26,9 +26,9 @@
 using System;
 using System.Collections.Generic;
 using System.Linq;
-using VK;
+using Vulkan;
 
-using static VK.Vk;
+using static Vulkan.Vk;
 
 namespace vke {
     public class RenderPass : Activable {
index 89552eeb4b572cfa6fd6cdafa53fa21d61b052f5..1b559edbe55fd60357bd6dba987aab78a7dc4d5a 100644 (file)
@@ -2,9 +2,9 @@
 using System.Diagnostics;
 using System.IO;
 using System.Runtime.InteropServices;
-using VK;
+using Vulkan;
 
-using static VK.Vk;
+using static Vulkan.Vk;
 
 namespace vke {
        [DebuggerDisplay ("{previous.name} <- {name} -> {next.name}")]
index 4a490e004d7b8046ace503657b3ed12db0832166..ca914244755ffa24c9c914206dbbc4537105a674 100644 (file)
@@ -24,7 +24,7 @@
 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 // THE SOFTWARE.
 using System.Collections.Generic;
-using VK;
+using Vulkan;
 
 namespace vke {
        public class SubPass {
index 9c2bea71237c527ac0108f0eb395eea1e77592f4..d49dd547b60ed613178b83dc07bc62010d29b1a7 100644 (file)
@@ -24,8 +24,8 @@
 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 // THE SOFTWARE.
 using System;
-using VK;
-using static VK.Vk;
+using Vulkan;
+using static Vulkan.Vk;
 
 namespace vke {
     public class SwapChain : Activable {
index 89de22198abbd37ada0f5cfa2ff5a81a67bb40b2..42dd70e1d3ed3e09729ecdc622ec0cf573bbf741 100644 (file)
@@ -50,7 +50,7 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 using System.Diagnostics;
-using VK;
+using Vulkan;
 
 namespace KTX
 {
index 2d6271c1766d93c3c2e561a4a23c810f63737ece..ce6948fa921b6c5f14b23e13bd3f02cb58e04062 100644 (file)
@@ -4,7 +4,7 @@
 using System;
 using System.IO;
 
-using VK;
+using Vulkan;
 using vke;
 using System.Runtime.InteropServices;
 using System.Collections.Generic;
index 6b7d0f1b5bbfa4f8bd202549dc2510318b7a22fb..52fbbe9f9449cdb57cff2a2360b837c3744c6fbe 100644 (file)
@@ -26,7 +26,7 @@
 using System;
 using System.Collections.Generic;
 using System.Numerics;
-using VK;
+using Vulkan;
 
 namespace vke {
 
index d4b65630470975d686b33ddfa093b4effd0090c6..ca13eff4b69150b30670e12898f96a2533db2ccc 100644 (file)
@@ -1,14 +1,14 @@
 <?xml version="1.0" encoding="utf-8"?>
 <Project Sdk="Microsoft.NET.Sdk">
        <PropertyGroup>
-    <TargetFrameworks>net471;netstandard2.0</TargetFrameworks>
+    <TargetFramework>netstandard2.0</TargetFramework>
                
-               <ReleaseVersion>0.1.7</ReleaseVersion>          
+               <ReleaseVersion>0.1.8</ReleaseVersion>          
                <AssemblyVersion>$(ReleaseVersion)</AssemblyVersion>
                <Description>C# vulkan library with IDispose model and references counting</Description>                
                <RepositoryUrl>https://github.com/jpbruyere/vke.net</RepositoryUrl>
                <PackageTags>vulkan game engine compute glfw c#</PackageTags>
-               <PackageVersion>$(AssemblyVersion)</PackageVersion>
+               <PackageVersion>$(AssemblyVersion)-beta</PackageVersion>
                <GeneratePackageOnBuild>True</GeneratePackageOnBuild>
                <PackageRequireLicenseAcceptance>False</PackageRequireLicenseAcceptance>
                <PackageProjectUrl>https://github.com/jpbruyere/vke.net/blob/master/README.md</PackageProjectUrl>
@@ -46,8 +46,8 @@
        </ItemGroup>
                
        <ItemGroup>
-               <PackageReference Include="SpirVTasks" Version="0.1.9-beta" />
-               <PackageReference Include="Vulkan" Version="0.1.4" />
+               <PackageReference Include="SpirVTasks" Version="0.1.10-beta" />
+               <PackageReference Include="Vulkan" Version="0.1.6-beta" />
        </ItemGroup>
        <ItemGroup>
                <GLSLShader Include="shaders\**\*.frag;shaders\**\*.vert;shaders\**\*.comp;shaders\**\*.geom">