#endif
using UnityEngine.Rendering ;
using UnityEngine.Rendering.PostProcessing ;
using UnityEditor.Experimental.Rendering ;
using UnityEngine ;
namespace UnityEngine.Experimental.Rendering.LightweightPipeline
{
}
cameraData . requiresDepthTexture | = cameraData . postProcessEnabled ;
var commonOpaqueFlags = SortFlags . CommonOpaque ;
var noFrontToBackOpaqueFlags = SortFlags . SortingLayer | SortFlags . RenderQueue | SortFlags . OptimizeStateChanges | SortFlags . CanvasOrder ;
bool hasHSRGPU = SystemInfo . hasHiddenSurfaceRemovalOnGPU ;
bool canSkipFrontToBackSorting = ( camera . opaqueSortMode = = OpaqueSortMode . Default & & hasHSRGPU ) | | camera . opaqueSortMode = = OpaqueSortMode . NoDistanceSort ;
cameraData . defaultOpaqueSortFlags = canSkipFrontToBackSorting ? noFrontToBackOpaqueFlags : commonOpaqueFlags ;
}