Re: [Mesa-dev] [PATCH 09/11] tgsi: remove culldist semantic.

2016-05-14 Thread Ilia Mirkin
On Sat, May 14, 2016 at 2:58 PM, Roland Scheidegger wrote: > On 05/14/2016 04:24 PM, Ilia Mirkin wrote: >> >> On Sat, May 14, 2016 at 10:23 AM, Roland Scheidegger >> wrote: >>> >>> Am 14.05.2016 um 14:55 schrieb Marek Olšák: Dave, It should be noted that clip distances can be disab

Re: [Mesa-dev] [PATCH 09/11] tgsi: remove culldist semantic.

2016-05-14 Thread Roland Scheidegger
On 05/14/2016 04:24 PM, Ilia Mirkin wrote: On Sat, May 14, 2016 at 10:23 AM, Roland Scheidegger wrote: Am 14.05.2016 um 14:55 schrieb Marek Olšák: Dave, It should be noted that clip distances can be disabled by pipe_rasterizer_state::clip_plane_enable, but cull distances can't. (same as GL)

Re: [Mesa-dev] [PATCH 09/11] tgsi: remove culldist semantic.

2016-05-14 Thread Ilia Mirkin
On Sat, May 14, 2016 at 10:23 AM, Roland Scheidegger wrote: > Am 14.05.2016 um 14:55 schrieb Marek Olšák: >> Dave, >> It should be noted that clip distances can be disabled by >> pipe_rasterizer_state::clip_plane_enable, but cull distances can't. >> (same as GL) > > That only applies to user clip

Re: [Mesa-dev] [PATCH 09/11] tgsi: remove culldist semantic.

2016-05-14 Thread Roland Scheidegger
Am 14.05.2016 um 14:55 schrieb Marek Olšák: > Dave, > It should be noted that clip distances can be disabled by > pipe_rasterizer_state::clip_plane_enable, but cull distances can't. > (same as GL) That only applies to user clip planes, not shader clip distances. > > Roland, > Our hardware only

Re: [Mesa-dev] [PATCH 09/11] tgsi: remove culldist semantic.

2016-05-14 Thread Marek Olšák
Dave, It should be noted that clip distances can be disabled by pipe_rasterizer_state::clip_plane_enable, but cull distances can't. (same as GL) Roland, Our hardware only has 2 vec4 outputs. Each component can be configured to be "clip distance", "cull distance", or "disabled" independently. Mare

Re: [Mesa-dev] [PATCH 09/11] tgsi: remove culldist semantic.

2016-05-13 Thread Ilia Mirkin
On Fri, May 13, 2016 at 6:43 PM, Roland Scheidegger wrote: > Am 13.05.2016 um 23:10 schrieb Dave Airlie: >> From: Dave Airlie >> >> This isn't used anymore in the tree, culldist's >> are part of the clipdist semantic, we could in theory >> rename it, but I'm not sure there is much point, and >> I

Re: [Mesa-dev] [PATCH 09/11] tgsi: remove culldist semantic.

2016-05-13 Thread Roland Scheidegger
Am 13.05.2016 um 23:10 schrieb Dave Airlie: > From: Dave Airlie > > This isn't used anymore in the tree, culldist's > are part of the clipdist semantic, we could in theory > rename it, but I'm not sure there is much point, and > I'd have to be careful with virgl. > > Signed-off-by: Dave Airlie

[Mesa-dev] [PATCH 09/11] tgsi: remove culldist semantic.

2016-05-13 Thread Dave Airlie
From: Dave Airlie This isn't used anymore in the tree, culldist's are part of the clipdist semantic, we could in theory rename it, but I'm not sure there is much point, and I'd have to be careful with virgl. Signed-off-by: Dave Airlie --- src/gallium/auxiliary/tgsi/tgsi_strings.c | 1 - src/