diff options
Diffstat (limited to 'samples')
| -rw-r--r-- | samples/Pbr/main.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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"); |