Re: [Mesa-dev] [PATCH 2/2] i965 Gen6: Implement gl_ClipVertex.

2011-10-03 Thread Paul Berry
On 3 October 2011 17:46, Ian Romanick wrote: > On 09/30/2011 01:09 AM, Paul Berry wrote: > > My intention was never to give up support for fixed function clipping. >> I just don't know how to tell, from within the vertex shader backend, >> whether the shader we're compiling is an application-de

Re: [Mesa-dev] [PATCH 2/2] i965 Gen6: Implement gl_ClipVertex.

2011-10-03 Thread Ian Romanick
On 09/30/2011 01:09 AM, Paul Berry wrote: My intention was never to give up support for fixed function clipping. I just don't know how to tell, from within the vertex shader backend, whether the shader we're compiling is an application-defined GLSL shader or Mesa's built-in fixed function vert

Re: [Mesa-dev] [PATCH 2/2] i965 Gen6: Implement gl_ClipVertex.

2011-09-30 Thread Paul Berry
On 30 September 2011 10:04, Eric Anholt wrote: > On Fri, 30 Sep 2011 01:09:32 -0700, Paul Berry > wrote: > Non-text part: multipart/mixed > Non-text part: multipart/alternative > > On 29 September 2011 23:16, Kenneth Graunke > wrote: > > > > > On 09/27/2011 11:05 AM, Paul Berry wrote: > > > So,

Re: [Mesa-dev] [PATCH 2/2] i965 Gen6: Implement gl_ClipVertex.

2011-09-30 Thread Eric Anholt
On Fri, 30 Sep 2011 01:09:32 -0700, Paul Berry wrote: Non-text part: multipart/mixed Non-text part: multipart/alternative > On 29 September 2011 23:16, Kenneth Graunke wrote: > > > On 09/27/2011 11:05 AM, Paul Berry wrote: > > So, we trade support for fixed function clipping for gl_ClipVertex >

Re: [Mesa-dev] [PATCH 2/2] i965 Gen6: Implement gl_ClipVertex.

2011-09-30 Thread Paul Berry
On 29 September 2011 23:16, Kenneth Graunke wrote: > On 09/27/2011 11:05 AM, Paul Berry wrote: > > This patch implements proper support for gl_ClipVertex by causing the > > new VS backend to populate the clip distance VUE slots using > > VERT_RESULT_CLIP_VERTEX when appropriate, and by using the

Re: [Mesa-dev] [PATCH 2/2] i965 Gen6: Implement gl_ClipVertex.

2011-09-29 Thread Kenneth Graunke
On 09/27/2011 11:05 AM, Paul Berry wrote: > This patch implements proper support for gl_ClipVertex by causing the > new VS backend to populate the clip distance VUE slots using > VERT_RESULT_CLIP_VERTEX when appropriate, and by using the > untransformed clip planes in ctx->Transform.EyeUserPlane ra

[Mesa-dev] [PATCH 2/2] i965 Gen6: Implement gl_ClipVertex.

2011-09-27 Thread Paul Berry
This patch implements proper support for gl_ClipVertex by causing the new VS backend to populate the clip distance VUE slots using VERT_RESULT_CLIP_VERTEX when appropriate, and by using the untransformed clip planes in ctx->Transform.EyeUserPlane rather than the transformed clip planes in ctx->Tran