Re: [Mesa-dev] [PATCH] mesa/bufferobj: use mapping range in BufferSubData.

2016-05-31 Thread Nicolai Hähnle
Reviewed-by: Nicolai Hähnle On 25.05.2016 06:03, Dave Airlie wrote: From: Dave Airlie According to GL4.5 spec: An INVALID_OPERATION error is generated if any part of the speci- fied buffer range is mapped with MapBufferRange or MapBuffer (see sec- tion 6.3), unless it was mapped with MAP_PERS

[Mesa-dev] [PATCH] mesa/bufferobj: use mapping range in BufferSubData.

2016-05-24 Thread Dave Airlie
From: Dave Airlie According to GL4.5 spec: An INVALID_OPERATION error is generated if any part of the speci- fied buffer range is mapped with MapBufferRange or MapBuffer (see sec- tion 6.3), unless it was mapped with MAP_PERSISTENT_BIT set in the Map- BufferRange access flags. So we should use t