Computescreenpos: Located in Unitycg.cginc, used to map the range of clipping space coordinates from [-w,w] to [0,w] (without perspective division, direct interpolation), and the pixel shader is typically divided by W map to [0,1] A UV value as a texture (such as a depth texture);
Tex2dproj: Similar to the tex2d, but the input of the UV is generally above the Computescreenpos calculated value, use the time to be divided by the W mapping;
Unity_proj_coord: processing platform differences, generally directly return the input value;
Sample_depth_texture: Located in Hlslsupport.cginc, generally used to get the color of depth texture, direct input UV;
Sample_depth_texture_proj: Basic ditto, but the input of UV is the above Computescreenpos calculated value, the internal use of tex2dproj implementation;
In Lineareyedepth:unity, the value we get from the depth map is generally not directly available (typically a value that is linearly related to the reciprocal of the z-value of the observed space), so it needs to be converted to the z value of the observed space, which is the function;
Linear01depth: Map The resulting z-value to the [0,1] range;