Re: [Mesa-dev] [PATCH 2/2] mesa: move GL_INVALID_OPERATION error to rendering call

2015-12-06 Thread Tapani Pälli
Yes, nice cleanup Reviewed-by: Tapani Pälli On 12/06/2015 06:36 AM, Timothy Arceri wrote: The validation api doesn't trigger this error so just move it to the code called during rendering. Cc: Tapani Pälli Cc: Kenneth Graunke --- src/mesa/main/context.c | 7 --- src/mesa/main/pi

[Mesa-dev] [PATCH 2/2] mesa: move GL_INVALID_OPERATION error to rendering call

2015-12-05 Thread Timothy Arceri
The validation api doesn't trigger this error so just move it to the code called during rendering. Cc: Tapani Pälli Cc: Kenneth Graunke --- src/mesa/main/context.c | 7 --- src/mesa/main/pipelineobj.c | 30 +- src/mesa/main/pipelineobj.h | 3 ++- 3 files ch