gallium/auxiliary/vl: add PIPE_CAP_GRAPHICS check for vl compositor
authorJames Zhu <James.Zhu@amd.com>
Fri, 26 Apr 2019 15:40:09 +0000 (11:40 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 29 Jul 2019 21:52:42 +0000 (17:52 -0400)
commitb618b65c98b09bf2fe1a83a73912a9c33ab13285
treedb9bcf68e624556c94ca87efd9d06950cf31e10c
parent187cc07d0561311114fc4b3e1fc9951ff311735b
gallium/auxiliary/vl: add PIPE_CAP_GRAPHICS check for vl compositor

Init graphic shader Only when PIPE_CAP_GRAPHICS is true.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
src/gallium/auxiliary/vl/vl_compositor.c
src/gallium/auxiliary/vl/vl_compositor.h