File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
05_StreamingAndBufferDeviceAddressApp Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 11#include "common.hlsl"
22
3- // just a small test
4- #include "nbl/builtin/hlsl/jit/device_capabilities.hlsl"
5-
63[[vk::push_constant]] PushConstantData pushConstants;
74
85// does absolutely nothing, a later example will show how it gets used
9- template<typename capability_traits=nbl::hlsl::jit::device_capabilities_traits >
6+ template<typename capability_traits=DeviceConfigCaps >
107void dummyTraitTest () {}
118
129[numthreads (WorkgroupSize,1 ,1 )]
Original file line number Diff line number Diff line change @@ -96,9 +96,9 @@ class StreamingAndBufferDeviceAddressApp final : public application_templates::M
9696 {
9797 IAssetLoader::SAssetLoadParams lp = {};
9898 lp.logger = m_logger.get ();
99- lp.workingDirectory = " " ; // virtual root
99+ lp.workingDirectory = " app_resources " ; // virtual root
100100
101- auto key = " app_resources/ " + nbl::this_example::builtin::build::get_spirv_key<" shader" >(m_device.get ());
101+ auto key = nbl::this_example::builtin::build::get_spirv_key<" shader" >(m_device.get ());
102102 auto assetBundle = m_assetMgr->getAsset (key.data (), lp);
103103 const auto assets = assetBundle.getContents ();
104104 if (assets.empty ())
You can’t perform that action at this time.
0 commit comments