Re: [Mesa-dev] [PATCH] gallivm/gs: fix indirect addressing in geometry shaders

2013-04-17 Thread Roland Scheidegger
Am 17.04.2013 21:17, schrieb Zack Rusin: > We were always treating the vertex index as a scalar but when the > shader is using indirect addressing it will be a vector of indices > for each channel. This was causing some nasty crashes insides > LLVM. > > Signed-off-by: Zack Rusin > --- > src/gall

[Mesa-dev] [PATCH] gallivm/gs: fix indirect addressing in geometry shaders

2013-04-17 Thread Zack Rusin
We were always treating the vertex index as a scalar but when the shader is using indirect addressing it will be a vector of indices for each channel. This was causing some nasty crashes insides LLVM. Signed-off-by: Zack Rusin --- src/gallium/auxiliary/draw/draw_llvm.c | 34 ++