diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2019-04-05 14:13:20 +0200 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2019-04-05 14:13:20 +0200 |
| commit | 04d94de392b6e5ca4f82acc233df7b3f97abca36 (patch) | |
| tree | 27df9645ea97cf36c99cb4f8ed5f347cc00cb458 /samples | |
| parent | 7d305b07ccaeb2a8cd342e3395db46f2f8fffade (diff) | |
Activable pattern wip
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"); |