From 04d94de392b6e5ca4f82acc233df7b3f97abca36 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Fri, 5 Apr 2019 14:13:20 +0200 Subject: Activable pattern wip --- samples/Pbr/main.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'samples') diff --git a/samples/Pbr/main.cs b/samples/Pbr/main.cs index 3c8945a..33262d1 100644 --- a/samples/Pbr/main.cs +++ b/samples/Pbr/main.cs @@ -160,7 +160,7 @@ namespace PbrSample { #region skybox pipeline skyboxPL = new Pipeline (dev, pipeline.RenderPass, VkPrimitiveTopology.TriangleList, samples); - skyboxPL.Layout = new PipelineLayout (dev, descLayoutMain);//should be share with the main pl + skyboxPL.Layout = pipeline.Layout; skyboxPL.AddVertexBinding (0, 5 * sizeof(float)); skyboxPL.SetVertexAttributes (0, VkFormat.R32g32b32Sfloat, VkFormat.R32g32Sfloat); skyboxPL.AddShader (VkShaderStageFlags.Vertex, "shaders/skybox.vert.spv"); -- cgit v1.3.1-4-g156e