Re: [Mesa-dev] [PATCH 3/7] mesa: Add support for AMD_depth_clamp_separate

2018-08-21 Thread Marek Olšák
On Tue, Aug 21, 2018 at 8:02 PM Sagar Ghuge wrote: > > Enable _mesa_PushAttrib() and _mesa_PopAttrib() to handle > GL_DEPTH_CLAMP_NEAR_AMD and GL_DEPTH_CLAMP_FAR_AMD tokens. > > Remove DepthClamp, because DepthClampNear + DepthClampFar replaces it, > as suggested by Marek Olsak. > > Driver that en

[Mesa-dev] [PATCH 3/7] mesa: Add support for AMD_depth_clamp_separate

2018-08-21 Thread Sagar Ghuge
Enable _mesa_PushAttrib() and _mesa_PopAttrib() to handle GL_DEPTH_CLAMP_NEAR_AMD and GL_DEPTH_CLAMP_FAR_AMD tokens. Remove DepthClamp, because DepthClampNear + DepthClampFar replaces it, as suggested by Marek Olsak. Driver that enables AMD_depth_clamp_separate will only ever look at DepthClampNe