Skip to content

Commit e79e452

Browse files
disable some GLSL we don't currently use
1 parent 145fac5 commit e79e452

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/nbl/video/utilities/CPropertyPoolHandler.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ using namespace video;
88
//
99
CPropertyPoolHandler::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

0 commit comments

Comments
 (0)