Displaying 5 results from an estimated 5 matches for "cull_distance".
2015 May 24
2
[RFC PATCH 00/11] Implement ARB_cull_distance
...May 24, 2015 at 1:57 PM, Tobias Klausmann
> <tobias.johannes.klausmann at mni.thm.de> wrote:
>> This patch series adds the needed support for this extension to the various
>> parts of mesa to finally enable it for nvc0.
>>
>> Dave Airlie (1):
>>    glsl: lower cull_distance into cull_distance_mesa
>>
>> Tobias Klausmann (10):
>>    glapi: add GL_ARB_cull_distance
>>    mesa/main: add support for GL_ARB_cull_distance
>>    mesa/prog: Add varyings for arb_cull_distance
>>    mesa/st: add support for GL_ARB_cull_distance
>>    gl...
2015 May 24
2
[RFC PATCH 00/11] Implement ARB_cull_distance
...perhaps other hw has them totally separate,
> dunno.
With my limited experience about other hardware i'd go with seperate 
clip/cull and let the drivers figure out the right way to place them. 
That gives us the freedom to have it the way nv50/nvc0 works and other 
ways, like seperated clip/cull_distances if needed. Maybe we should just 
consider nouveau and radeon and decide by the hw of these often used 
drivers.
Marek any comments on how the various radeons work?
>
>>
>>> On Sun, May 24, 2015 at 1:57 PM, Tobias Klausmann
>>> <tobias.johannes.klausmann at mni.thm.d...
2015 May 24
2
[Mesa-dev] [PATCH 07/11] glsl: Add arb_cull_distance support
..."be larger than gl_MaxClipDistances (%u)",
>                         state->Const.MaxClipPlanes);
> +   } else if (strcmp("gl_CullDistance", name) == 0
> +              && size > state->Const.MaxClipPlanes) {
> +      /* From the ARB_cull_distance spec:
> +       *
> +       *   "The gl_CullDistance array is predeclared as unsized and
> +       *    must be sized by the shader either redeclaring it with
> +       *    a size or indexing it only with integral constant
> +       *    expressions. The size determines the num...
2015 May 24
19
[RFC PATCH 00/11] Implement ARB_cull_distance
This patch series adds the needed support for this extension to the various
parts of mesa to finally enable it for nvc0.
Dave Airlie (1):
  glsl: lower cull_distance into cull_distance_mesa
Tobias Klausmann (10):
  glapi: add GL_ARB_cull_distance
  mesa/main: add support for GL_ARB_cull_distance
  mesa/prog: Add varyings for arb_cull_distance
  mesa/st: add support for GL_ARB_cull_distance
  glsl: Add a helper to see if an array was unsize in the shader
  glsl...
2015 May 25
4
[RFC PATCH 00/11] Implement ARB_cull_distance
On Mon, May 25, 2015 at 9:40 AM, Tobias Klausmann
<tobias.johannes.klausmann at mni.thm.de> wrote:
>
> On 25.05.2015 07:17, Dave Airlie wrote:
>>
>> On 25 May 2015 at 08:11, Marek Olšák <maraeo at gmail.com> wrote:
>>>
>>> It's the same on Radeon. There are 2x ClipOrCullDistance output
>>> vectors and a mask saying it should clip or cull