|
|
|
|
183
|
DKLog("resPath: %ls", (const wchar_t*)resPath);
|
183
|
DKLog("resPath: %ls", (const wchar_t*)resPath);
|
184
|
resourcePool.AddLocatorForPath(resPath);
|
184
|
resourcePool.AddLocatorForPath(resPath);
|
185
|
|
185
|
|
|
|
186
|
+ DKVariant vulkanProps;
|
|
|
187
|
+ vulkanProps.NewValueAtKeyPath("pipelineCacheFilePath",
|
|
|
188
|
+ DefaultPath(SystemPath::AppExecutable).FilePathStringByAppendingPath("pipeline.cache"));
|
|
|
189
|
+
|
|
|
190
|
+ DKPropertySet::SystemConfig().SetValue("Vulkan", vulkanProps);
|
|
|
191
|
+
|
|
|
192
|
+
|
186
|
DKObject<DKData> vertData = resourcePool.LoadResourceData("shaders/texture/texture.vert.spv");
|
193
|
DKObject<DKData> vertData = resourcePool.LoadResourceData("shaders/texture/texture.vert.spv");
|
187
|
DKObject<DKData> fragData = resourcePool.LoadResourceData("shaders/texture/texture.frag.spv");
|
194
|
DKObject<DKData> fragData = resourcePool.LoadResourceData("shaders/texture/texture.frag.spv");
|
188
|
|
195
|
|