Lines Matching refs:resFragmentLightingTable

195                         ResFragmentLightingTable resFragmentLightingTable =  in GetMemorySizeInternal()  local
199 if (resFragmentLightingTable.GetReflectanceRSampler().IsValid()) in GetMemorySizeInternal()
204 if (resFragmentLightingTable.GetReflectanceGSampler().IsValid()) in GetMemorySizeInternal()
209 if (resFragmentLightingTable.GetReflectanceBSampler().IsValid()) in GetMemorySizeInternal()
214 if (resFragmentLightingTable.GetDistribution0Sampler().IsValid()) in GetMemorySizeInternal()
219 if (resFragmentLightingTable.GetDistribution1Sampler().IsValid()) in GetMemorySizeInternal()
224 if (resFragmentLightingTable.GetFresnelSampler().IsValid()) in GetMemorySizeInternal()
473 ResFragmentLightingTable resFragmentLightingTable = in CopyResMaterial() local
475 if (resFragmentLightingTable.IsValid()) in CopyResMaterial()
478 this->CopyResFragmentLightingTable(allocator, resFragmentLightingTable); in CopyResMaterial()
541 … ResFragmentLightingTable resFragmentLightingTable = resFragmentShader.GetFragmentLightingTable(); in DestroyResFragmentShader() local
543 if (resFragmentLightingTable.IsValid()) in DestroyResFragmentShader()
545 if (resFragmentLightingTable.GetReflectanceRSampler().IsValid()) in DestroyResFragmentShader()
547 … allocator->Free(resFragmentLightingTable.GetReflectanceRSampler().GetSampler().ptr()); in DestroyResFragmentShader()
548 allocator->Free(resFragmentLightingTable.GetReflectanceRSampler().ptr()); in DestroyResFragmentShader()
551 if (resFragmentLightingTable.GetReflectanceGSampler().IsValid()) in DestroyResFragmentShader()
553 … allocator->Free(resFragmentLightingTable.GetReflectanceGSampler().GetSampler().ptr()); in DestroyResFragmentShader()
554 allocator->Free(resFragmentLightingTable.GetReflectanceGSampler().ptr()); in DestroyResFragmentShader()
557 if (resFragmentLightingTable.GetReflectanceBSampler().IsValid()) in DestroyResFragmentShader()
559 … allocator->Free(resFragmentLightingTable.GetReflectanceBSampler().GetSampler().ptr()); in DestroyResFragmentShader()
560 allocator->Free(resFragmentLightingTable.GetReflectanceBSampler().ptr()); in DestroyResFragmentShader()
563 if (resFragmentLightingTable.GetDistribution0Sampler().IsValid()) in DestroyResFragmentShader()
565 … allocator->Free(resFragmentLightingTable.GetDistribution0Sampler().GetSampler().ptr()); in DestroyResFragmentShader()
566 allocator->Free(resFragmentLightingTable.GetDistribution0Sampler().ptr()); in DestroyResFragmentShader()
569 if (resFragmentLightingTable.GetDistribution1Sampler().IsValid()) in DestroyResFragmentShader()
571 … allocator->Free(resFragmentLightingTable.GetDistribution1Sampler().GetSampler().ptr()); in DestroyResFragmentShader()
572 allocator->Free(resFragmentLightingTable.GetDistribution1Sampler().ptr()); in DestroyResFragmentShader()
575 if (resFragmentLightingTable.GetFresnelSampler().IsValid()) in DestroyResFragmentShader()
577 allocator->Free(resFragmentLightingTable.GetFresnelSampler().GetSampler().ptr()); in DestroyResFragmentShader()
578 allocator->Free(resFragmentLightingTable.GetFresnelSampler().ptr()); in DestroyResFragmentShader()
581 allocator->Free(resFragmentLightingTable.ptr()); in DestroyResFragmentShader()
604 ResFragmentLightingTable resFragmentLightingTable) in CopyResFragmentLightingTable() argument
616 new(tableMemory) ResFragmentLightingTableData(resFragmentLightingTable.ref()); in CopyResFragmentLightingTable()
625 if (resFragmentLightingTable.GetReflectanceRSampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
628 … this->CopyResLightingLookupTable(allocator, resFragmentLightingTable.GetReflectanceRSampler()); in CopyResFragmentLightingTable()
635 if (resFragmentLightingTable.GetReflectanceGSampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
638 … this->CopyResLightingLookupTable(allocator, resFragmentLightingTable.GetReflectanceGSampler()); in CopyResFragmentLightingTable()
645 if (resFragmentLightingTable.GetReflectanceBSampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
648 … this->CopyResLightingLookupTable(allocator, resFragmentLightingTable.GetReflectanceBSampler()); in CopyResFragmentLightingTable()
655 if (resFragmentLightingTable.GetDistribution0Sampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
658 … this->CopyResLightingLookupTable(allocator, resFragmentLightingTable.GetDistribution0Sampler()); in CopyResFragmentLightingTable()
665 if (resFragmentLightingTable.GetDistribution1Sampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
668 … this->CopyResLightingLookupTable(allocator, resFragmentLightingTable.GetDistribution1Sampler()); in CopyResFragmentLightingTable()
675 if (resFragmentLightingTable.GetFresnelSampler().IsValid() && result.IsSuccess()) in CopyResFragmentLightingTable()
678 … this->CopyResLightingLookupTable(allocator, resFragmentLightingTable.GetFresnelSampler()); in CopyResFragmentLightingTable()