Re: [Mesa-dev] [PATCH] gallium: reorder fields in pipe_draw_info

2017-02-20 Thread Marek Olšák
On Mon, Feb 20, 2017 at 8:36 PM, Roland Scheidegger wrote: > Am 20.02.2017 um 20:08 schrieb Marek Olšák: >> On Mon, Feb 20, 2017 at 8:03 PM, Roland Scheidegger >> wrote: >>> This doesn't quite just do what the commit log says, since at least one >>>

Re: [Mesa-dev] [PATCH] gallium: reorder fields in pipe_draw_info

2017-02-20 Thread Roland Scheidegger
Am 20.02.2017 um 20:08 schrieb Marek Olšák: > On Mon, Feb 20, 2017 at 8:03 PM, Roland Scheidegger > wrote: >> This doesn't quite just do what the commit log says, since at least one >> parameter is changed from unsigned to ubyte (I hope vertices_per_patch >> can't exceed that

Re: [Mesa-dev] [PATCH] gallium: reorder fields in pipe_draw_info

2017-02-20 Thread Marek Olšák
On Mon, Feb 20, 2017 at 8:03 PM, Roland Scheidegger wrote: > This doesn't quite just do what the commit log says, since at least one > parameter is changed from unsigned to ubyte (I hope vertices_per_patch > can't exceed that for any driver...) vertices_per_patch must be in

Re: [Mesa-dev] [PATCH] gallium: reorder fields in pipe_draw_info

2017-02-20 Thread Roland Scheidegger
This doesn't quite just do what the commit log says, since at least one parameter is changed from unsigned to ubyte (I hope vertices_per_patch can't exceed that for any driver...) Otherwise seems reasonable. Roland Am 20.02.2017 um 19:35 schrieb Marek Olšák: > From: Marek Olšák

[Mesa-dev] [PATCH] gallium: reorder fields in pipe_draw_info

2017-02-20 Thread Marek Olšák
From: Marek Olšák sizeof(struct pipe_draw_info) = 104 -> 88 --- src/gallium/include/pipe/p_state.h | 49 -- 1 file changed, 26 insertions(+), 23 deletions(-) diff --git a/src/gallium/include/pipe/p_state.h