From 2d2e2ff4038db052d0186645f5afe4ec9daf2505 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Wed, 24 Apr 2019 04:17:16 +0200 Subject: use boolean for tex0 and tex1 availability tests --- samples/deferred/PbrPipeline.cs | 2 +- samples/deferred/deferred.csproj | 4 ++-- samples/deferred/main.cs | 2 +- samples/deferred/mainShadow.cs | 2 +- samples/deferred/mainWithDebugDrawer.cs | 2 +- samples/deferred/modelWithVkvgStats.cs | 2 +- samples/deferred/packages.config | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) (limited to 'samples/deferred') diff --git a/samples/deferred/PbrPipeline.cs b/samples/deferred/PbrPipeline.cs index 04f97da..61122be 100644 --- a/samples/deferred/PbrPipeline.cs +++ b/samples/deferred/PbrPipeline.cs @@ -92,7 +92,7 @@ namespace CVKL { VK.AttachmentType.Color, VK.AttachmentType.Normal, VK.AttachmentType.AmbientOcclusion, - VK.AttachmentType.MetalRoughness, + VK.AttachmentType.PhysicalProps, VK.AttachmentType.Emissive); } diff --git a/samples/deferred/deferred.csproj b/samples/deferred/deferred.csproj index 0a98f73..a6236ba 100644 --- a/samples/deferred/deferred.csproj +++ b/samples/deferred/deferred.csproj @@ -57,14 +57,14 @@ ..\..\packages\vkvg.net.0.2.0\lib\netstandard2.0\vkvg.net.dll - ..\..\packages\Vulkan.0.1.2.5-alpha\lib\netstandard2.0\VK.dll + ..\..\packages\Vulkan.0.1.2.6\lib\netstandard2.0\VK.dll - + {32B7E80D-BEA7-4811-B82D-CC2533069F0A} CVKL diff --git a/samples/deferred/main.cs b/samples/deferred/main.cs index a2bb9c1..b3781d5 100644 --- a/samples/deferred/main.cs +++ b/samples/deferred/main.cs @@ -174,7 +174,7 @@ namespace deferred { VK.AttachmentType.Color, VK.AttachmentType.Normal, VK.AttachmentType.AmbientOcclusion, - VK.AttachmentType.MetalRoughness, + VK.AttachmentType.PhysicalProps, VK.AttachmentType.Emissive); } diff --git a/samples/deferred/mainShadow.cs b/samples/deferred/mainShadow.cs index 02df530..0bc3103 100644 --- a/samples/deferred/mainShadow.cs +++ b/samples/deferred/mainShadow.cs @@ -215,7 +215,7 @@ namespace deferredShadow { VK.AttachmentType.Color, VK.AttachmentType.Normal, VK.AttachmentType.AmbientOcclusion, - VK.AttachmentType.MetalRoughness, + VK.AttachmentType.PhysicalProps, VK.AttachmentType.Emissive); } diff --git a/samples/deferred/mainWithDebugDrawer.cs b/samples/deferred/mainWithDebugDrawer.cs index 1dfc768..7611e0d 100644 --- a/samples/deferred/mainWithDebugDrawer.cs +++ b/samples/deferred/mainWithDebugDrawer.cs @@ -209,7 +209,7 @@ namespace deferredDebug { VK.AttachmentType.Color, VK.AttachmentType.Normal, VK.AttachmentType.AmbientOcclusion, - VK.AttachmentType.MetalRoughness, + VK.AttachmentType.PhysicalProps, VK.AttachmentType.Emissive); } diff --git a/samples/deferred/modelWithVkvgStats.cs b/samples/deferred/modelWithVkvgStats.cs index 41fceb4..f4ea123 100644 --- a/samples/deferred/modelWithVkvgStats.cs +++ b/samples/deferred/modelWithVkvgStats.cs @@ -122,7 +122,7 @@ namespace modelWithVkvgStats { VK.AttachmentType.Color, VK.AttachmentType.Normal, VK.AttachmentType.AmbientOcclusion, - VK.AttachmentType.MetalRoughness, + VK.AttachmentType.PhysicalProps, VK.AttachmentType.Emissive); } diff --git a/samples/deferred/packages.config b/samples/deferred/packages.config index 069f5cc..55ba896 100644 --- a/samples/deferred/packages.config +++ b/samples/deferred/packages.config @@ -7,5 +7,5 @@ - + \ No newline at end of file -- cgit v1.3.1-4-g156e