Re: [Mesa-dev] [PATCH] tgsi/gs: bound max output vertices in shader

2014-06-10 Thread Zack Rusin
Looks great. If I was into diffs I'd make sweet and passionate love to this one. Reviewed-by: Zack Rusin - Original Message - > From: Dave Airlie > > This limits the number of emitted vertices to the shaders max output > vertices, and avoids us writing things into memory that isn't big

[Mesa-dev] [PATCH] tgsi/gs: bound max output vertices in shader

2014-06-10 Thread Dave Airlie
From: Dave Airlie This limits the number of emitted vertices to the shaders max output vertices, and avoids us writing things into memory that isn't big enough for it. Signed-off-by: Dave Airlie --- src/gallium/auxiliary/tgsi/tgsi_exec.c | 8 src/gallium/auxiliary/tgsi/tgsi_exec.h | 1