[Mesa-stable] [Mesa-dev] [PATCH] radeonsi: fix an off-by-one error in the bounds check for max_vertices

Michel Dänzer michel at daenzer.net
Wed Dec 7 03:47:59 UTC 2016


On 07/12/16 05:06 AM, Nicolai Hähnle wrote:
> From: Nicolai Hähnle <nicolai.haehnle at amd.com>
> 
> The spec actually says that calling EmitStreamVertex is undefined when
> you exceed max_vertices. But we do need to avoid trampling over memory
> outside the GSVS ring.

Why "but"? It still works up to max_vertices with your fix, right? Anyway,

Reviewed-by: Michel Dänzer <michel.daenzer at amd.com>


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the mesa-stable mailing list