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;
8
8
//
9
9
CPropertyPoolHandler::CPropertyPoolHandler (core::smart_refctd_ptr<ILogicalDevice>&& device) : m_device(std::move(device)), m_dsCache()
10
10
{
11
+ // TODO: rewrite in HLSL!
12
+ #if 0
11
13
const auto& deviceLimits = m_device->getPhysicalDevice()->getLimits();
12
14
m_maxPropertiesPerPass = core::min<uint32_t>((deviceLimits.maxPerStageDescriptorSSBOs-2u)/2u,MaxPropertiesPerDispatch);
13
15
m_alignment = core::max(deviceLimits.minSSBOAlignment,256u/*TODO: deviceLimits.nonCoherentAtomSize*/);
@@ -53,6 +55,7 @@ CPropertyPoolHandler::CPropertyPoolHandler(core::smart_refctd_ptr<ILogicalDevice
53
55
const asset::SPushConstantRange baseDWORD = {asset::IShader::ESS_COMPUTE,0u,sizeof(uint32_t)*2u};
54
56
auto layout = m_device->createPipelineLayout(&baseDWORD,&baseDWORD+1u,std::move(dsLayout));
55
57
m_pipeline = m_device->createComputePipeline(nullptr,std::move(layout),std::move(specshader));
58
+ #endif
56
59
}
57
60
58
61
You can’t perform that action at this time.
0 commit comments