mesa: move DispatchCompute() validation to compute.c
authorTimothy Arceri <tarceri@itsqueeze.com>
Mon, 15 May 2017 01:08:13 +0000 (11:08 +1000)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 17 May 2017 00:12:04 +0000 (10:12 +1000)
commit64757e73de4355353e15706d9d25269f181eb775
tree3c97f87dc0c22501b7ca305e50b80d61c143be16
parent25591adc286a217ee344d17d277c81ba9e6d353b
mesa: move DispatchCompute() validation to compute.c

This is the only place it is used so there is no reason for it to be
in api_validate.c

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/main/api_validate.c
src/mesa/main/api_validate.h
src/mesa/main/compute.c