Re: [Mesa-dev] [PATCH] st/mesa: Initialize tex_target otherwise it might be used uninitialized.

2018-02-09 Thread Brian Paul
On Fri, Feb 9, 2018 at 3:10 AM, Michel Dänzer wrote: > On 2018-02-09 08:54 AM, Gert Wollny wrote: > > The initialization of tex_target was dropped and since the value > > is used uninitialized (e.g. with Unreal Editor), an assertion > > fires in tgsi/tgsi_util.c:502:

Re: [Mesa-dev] [PATCH] st/mesa: Initialize tex_target otherwise it might be used uninitialized.

2018-02-09 Thread Michel Dänzer
On 2018-02-09 08:54 AM, Gert Wollny wrote: > The initialization of tex_target was dropped and since the value > is used uninitialized (e.g. with Unreal Editor), an assertion > fires in tgsi/tgsi_util.c:502: tgsi_util_get_texture_coord_dim: > Assertion `!"unknown texture target"' failed. > >