Browse Source

no message

Hongtae Kim 6 years ago
parent
commit
8d9200a2a8
1 changed files with 6 additions and 3 deletions
  1. 6
    3
      TestApp1/TestApp1.cpp

+ 6
- 3
TestApp1/TestApp1.cpp View File

127
 				{
127
 				{
128
 					DKLogI(" %ls+TypeKey: %ls (struct)",
128
 					DKLogI(" %ls+TypeKey: %ls (struct)",
129
 						   (const wchar_t*)indentStr,
129
 						   (const wchar_t*)indentStr,
130
-						   (const wchar_t*)res.typeInfoKey);
130
+						   (const wchar_t*)mem.typeInfoKey);
131
 					MemberPrinter{ res, indent + 1 }.operator()(p->value);
131
 					MemberPrinter{ res, indent + 1 }.operator()(p->value);
132
 				}
132
 				}
133
 			}
133
 			}
193
 		if (numItemsImported >= 0)
193
 		if (numItemsImported >= 0)
194
 			DKLogI("UserSettings: %ls (%d items imported)", (const wchar_t*)userConfigPath, numItemsImported);
194
 			DKLogI("UserSettings: %ls (%d items imported)", (const wchar_t*)userConfigPath, numItemsImported);
195
 
195
 
196
-		DKObject<DKData> vertData = resourcePool.LoadResourceData("shaders/texture/texture.vert.spv");
197
-		DKObject<DKData> fragData = resourcePool.LoadResourceData("shaders/texture/texture.frag.spv");
196
+		DKObject<DKData> vertData = resourcePool.LoadResourceData("shaders/texturearray/instancing.vert.spv");
197
+		DKObject<DKData> fragData = resourcePool.LoadResourceData("shaders/texturearray/instancing.frag.spv");
198
 
198
 
199
 		struct Vertex
199
 		struct Vertex
200
 		{
200
 		{
249
 		DKObject<DKRenderPipelineState> pipelineState = device->CreateRenderPipeline(pipelineDescriptor, &reflection);
249
 		DKObject<DKRenderPipelineState> pipelineState = device->CreateRenderPipeline(pipelineDescriptor, &reflection);
250
 		if (pipelineState)
250
 		if (pipelineState)
251
 		{
251
 		{
252
+            DKLog("=========================================================");
252
 			DKLog("PipelineReflection.VertexResources: %d", reflection.vertexResources.Count());
253
 			DKLog("PipelineReflection.VertexResources: %d", reflection.vertexResources.Count());
253
 			for (auto& arg : reflection.vertexResources)
254
 			for (auto& arg : reflection.vertexResources)
254
 				PrintShaderResource(arg);
255
 				PrintShaderResource(arg);
256
+            DKLog("---------------------------------------------------------");
255
 			DKLog("PipelineReflection.FragmentResources: %d", reflection.fragmentResources.Count());
257
 			DKLog("PipelineReflection.FragmentResources: %d", reflection.fragmentResources.Count());
256
 			for (auto& arg : reflection.fragmentResources)
258
 			for (auto& arg : reflection.fragmentResources)
257
 				PrintShaderResource(arg);
259
 				PrintShaderResource(arg);
260
+            DKLog("=========================================================");
258
 		}
261
 		}
259
 
262
 
260
 		Terminate(0);
263
 		Terminate(0);