[Mesa-dev] [PATCH 1/2] mesa: Fold error generation into _mesa_valid_prim_mode().

Brian Paul brianp at vmware.com
Wed Mar 14 16:45:24 PDT 2012


On 03/14/2012 04:25 PM, Eric Anholt wrote:
> We want to start emitting an INVALID_OPERATION from here for transform
> feedback.  Note that this forced dlist.c to almost not use this
> function, since it wants different behavior during dlist compile.
> Just pull the non-TF, non-GS test out for compile, because:
>
> 1) TF doesn't matter in that case because there's no drawing.
> 2) I don't think we're going to see GSes and display lists in the same
>     context, if we don't do GL_ARB_compatibility.
> ---
>   src/mesa/main/api_validate.c |   24 +++++++++---------------
>   src/mesa/main/api_validate.h |    2 +-
>   src/mesa/main/dlist.c        |   10 ++++++++--
>   src/mesa/vbo/vbo_exec_api.c  |    3 +--
>   4 files changed, 19 insertions(+), 20 deletions(-)

For both: Reviewed-by: Brian Paul <brianp at vmware.com>



More information about the mesa-dev mailing list