Re: [Mesa-dev] [PATCH] tgsi: include struct definitions for tgsi_build declarations

2018-01-08 Thread Rob Herring
On Mon, Jan 8, 2018 at 7:25 PM, Ilia Mirkin wrote: > On Mon, Jan 8, 2018 at 4:18 PM, Rob Herring wrote: >> Many of the functions declared in tgsi_build.h return structs (not struct >> pointers). Therefore the full struct definitions are needed to avoid >> warnings or errors: >> >> In file include

Re: [Mesa-dev] [PATCH] tgsi: include struct definitions for tgsi_build declarations

2018-01-08 Thread Ilia Mirkin
On Mon, Jan 8, 2018 at 4:18 PM, Rob Herring wrote: > Many of the functions declared in tgsi_build.h return structs (not struct > pointers). Therefore the full struct definitions are needed to avoid > warnings or errors: > > In file included from > src/gallium/drivers/nouveau/codegen/nv50_ir_from_

[Mesa-dev] [PATCH] tgsi: include struct definitions for tgsi_build declarations

2018-01-08 Thread Rob Herring
Many of the functions declared in tgsi_build.h return structs (not struct pointers). Therefore the full struct definitions are needed to avoid warnings or errors: In file included from src/gallium/drivers/nouveau/codegen/nv50_ir_from_tgsi.cpp:23: external/mesa3d/src/gallium/auxiliary/tgsi/tgsi_bu