Lines Matching refs:result

88     Result result = material->Initialize(allocator);  in Create()  local
89 if (result.IsSuccess()) in Create()
270 Result result = INITIALIZE_RESULT_OK; in CreateBuffers() local
280 result |= Result::MASK_FAIL_BIT; in CreateBuffers()
283 NW_ENSURE_AND_RETURN(result); in CreateBuffers()
289 NW_ENSURE_AND_RETURN(result); in CreateBuffers()
299 result |= Result::MASK_FAIL_BIT; in CreateBuffers()
304 return result; in CreateBuffers()
313 Result result = INITIALIZE_RESULT_OK; in CopyResMaterial() local
320 result |= Result::MASK_FAIL_BIT; in CopyResMaterial()
321 return ::std::make_pair(ResMaterial(NULL), result); in CopyResMaterial()
367 result |= Result::MASK_FAIL_BIT; in CopyResMaterial()
368 return ::std::make_pair(copyMaterial, result); in CopyResMaterial()
391 result |= Result::MASK_FAIL_BIT; in CopyResMaterial()
392 return ::std::make_pair(copyMaterial, result); in CopyResMaterial()
418 result |= Result::MASK_FAIL_BIT; in CopyResMaterial()
419 return ::std::make_pair(copyMaterial, result); in CopyResMaterial()
436 result |= Result::MASK_FAIL_BIT; in CopyResMaterial()
437 return ::std::make_pair(copyMaterial, result); in CopyResMaterial()
453 result |= Result::MASK_FAIL_BIT; in CopyResMaterial()
454 return ::std::make_pair(copyMaterial, result); in CopyResMaterial()
478 result |= Result::MASK_FAIL_BIT; in CopyResMaterial()
479 return ::std::make_pair(copyMaterial, result); in CopyResMaterial()
486 return ::std::make_pair(copyMaterial, result); in CopyResMaterial()
594 Result result = INITIALIZE_RESULT_OK; in CopyResFragmentLightingTable() local
599 result |= Result::MASK_FAIL_BIT; in CopyResFragmentLightingTable()
600 return ::std::make_pair(ResFragmentLightingTable(NULL), result); in CopyResFragmentLightingTable()
613 if (resFragmentLightingTable.GetReflectanceRSampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
620 result |= copyResult.second; in CopyResFragmentLightingTable()
623 if (resFragmentLightingTable.GetReflectanceGSampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
630 result |= copyResult.second; in CopyResFragmentLightingTable()
633 if (resFragmentLightingTable.GetReflectanceBSampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
640 result |= copyResult.second; in CopyResFragmentLightingTable()
643 if (resFragmentLightingTable.GetDistribution0Sampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
650 result |= copyResult.second; in CopyResFragmentLightingTable()
653 if (resFragmentLightingTable.GetDistribution1Sampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
660 result |= copyResult.second; in CopyResFragmentLightingTable()
663 if (resFragmentLightingTable.GetFresnelSampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
670 result |= copyResult.second; in CopyResFragmentLightingTable()
673 return ::std::make_pair(ResFragmentLightingTable(fragmentLightingTable), result); in CopyResFragmentLightingTable()
682 Result result = INITIALIZE_RESULT_OK; in CopyResLightingLookupTable() local
688 result |= Result::MASK_FAIL_BIT; in CopyResLightingLookupTable()
689 return ::std::make_pair(ResLightingLookupTable(NULL), result); in CopyResLightingLookupTable()
699 return ::std::make_pair(ResLightingLookupTable(lightingLookupTable), result); in CopyResLightingLookupTable()
788 Result result = INITIALIZE_RESULT_OK; in Initialize() local
790 result |= CreateBuffers(allocator); in Initialize()
791 NW_ENSURE_AND_RETURN(result); in Initialize()
793 return result; in Initialize()