File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ using namespace video;
88//
99CPropertyPoolHandler::CPropertyPoolHandler (core::smart_refctd_ptr<ILogicalDevice>&& device) : m_device(std::move(device)), m_dsCache()
1010{
11+ // TODO: rewrite in HLSL!
12+ #if 0
1113 const auto& deviceLimits = m_device->getPhysicalDevice()->getLimits();
1214 m_maxPropertiesPerPass = core::min<uint32_t>((deviceLimits.maxPerStageDescriptorSSBOs-2u)/2u,MaxPropertiesPerDispatch);
1315 m_alignment = core::max(deviceLimits.minSSBOAlignment,256u/*TODO: deviceLimits.nonCoherentAtomSize*/);
@@ -53,6 +55,7 @@ CPropertyPoolHandler::CPropertyPoolHandler(core::smart_refctd_ptr<ILogicalDevice
5355 const asset::SPushConstantRange baseDWORD = {asset::IShader::ESS_COMPUTE,0u,sizeof(uint32_t)*2u};
5456 auto layout = m_device->createPipelineLayout(&baseDWORD,&baseDWORD+1u,std::move(dsLayout));
5557 m_pipeline = m_device->createComputePipeline(nullptr,std::move(layout),std::move(specshader));
58+ #endif
5659}
5760
5861
You can’t perform that action at this time.
0 commit comments