Browse Source

no message

Hongtae Kim 5 years ago
parent
commit
8ed80e70b9
1 changed files with 10 additions and 0 deletions
  1. 10
    0
      TestApp1/TestApp1.cpp

+ 10
- 0
TestApp1/TestApp1.cpp View File

@@ -320,6 +320,16 @@ public:
320 320
 		}
321 321
 
322 322
         DKShaderBindingSetLayout layout;
323
+        if (1)
324
+        {
325
+            DKShaderBinding binding = {
326
+                0,
327
+                DKShader::DescriptorTypeUniformBuffer,
328
+                1,
329
+                nullptr
330
+            };
331
+            layout.bindings.Add(binding);
332
+        }
323 333
         DKObject<DKShaderBindingSet> bindSet = device->CreateShaderBindingSet(layout);
324 334
         if (bindSet)
325 335
         {