patch/llpcConfigBuilderBase.cpp
void ConfigBuilderBase::SetLdsSizeByteSize(
    Util::Abi::HardwareStage hwStage, // Hardware shader stage
    uint32_t                 value)   // Value to set
{
    if (value == 0)
    {
        return; // Optional
    }

    if (GeneratingMsgPack())
    {
        auto hwShaderNode = GetHwShaderNode(hwStage);
        hwShaderNode[Util::Abi::HardwareStageMetadataKey::LdsSize] = hwShaderNode.getDocument()->getNode(value);
    }
}
// =====================================================================================================================
// Set LDS byte size for given hardware shader stage
Set LDS byte size for given hardware shader stage
Set LDS byte size for given hardware shader stage
void ConfigBuilderBase::SetLdsSizeByteSize(
    Util::Abi::HardwareStage hwStage, 
    uint32_t                 value)   
{
    if (value == 0)
    {
        return; 
    }
    if (GeneratingMsgPack())
    {
        auto hwShaderNode = GetHwShaderNode(hwStage);
        hwShaderNode[Util::Abi::HardwareStageMetadataKey::LdsSize] = hwShaderNode.getDocument()->getNode(value);
    }
}
void ConfigBuilderBase :: SetLdsSizeByteSize ( Util :: Abi :: HardwareStage hwStage , uint32_t value ) { if ( value == 0 ) { return ; } if ( GeneratingMsgPack ( ) ) { auto hwShaderNode = GetHwShaderNode ( hwStage ) ; hwShaderNode [ Util :: Abi :: HardwareStageMetadataKey :: LdsSize ] = hwShaderNode . getDocument ( ) -> getNode ( value ) ; } }
Set LDS byte size for given hardware shader stage
Set LDS byte size for given hardware shader stage
// Hardware shader stage // Value to set // Optional