vl: Use CS composite shader only if TEX_LZ and DIV are supported
authorGert Wollny <gert.wollny@collabora.com>
Thu, 13 Jun 2019 07:26:01 +0000 (09:26 +0200)
committerGert Wollny <gert.wollny@collabora.com>
Sun, 30 Jun 2019 16:41:38 +0000 (18:41 +0200)
commit75d8b4e79542e08a42cab28378b830836f078eb5
tree103684d0ed081ccaa51710df0f16330eac7dd6e4
parent843723e2f7c79633cb0fe910b60684b8b2d289f6
vl: Use CS composite shader only if TEX_LZ and DIV are supported

Enable the compute shader copositer only when TEX_LZ is supported by the driver.

v2: Also check whether DIV is supported.

https://bugs.freedesktop.org/show_bug.cgi?id=110783

Fixes: 9364d66cb7f7
 gallium/auxiliary/vl: Add video compositor compute shader render

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/vl/vl_compositor.c
src/gallium/auxiliary/vl/vl_compositor.h