Re: [Mesa-dev] [PATCH v4 5/5] gallium/auxiliary/vl: Add video compositor compute shader render

2019-02-12 Thread Zhu, James
Thank you for the advice. James From: Marek Olšák Sent: Monday, February 11, 2019 4:56 PM To: Zhu, James Cc: mesa-dev@lists.freedesktop.org; jzh...@gmail.com Subject: Re: [Mesa-dev] [PATCH v4 5/5] gallium/auxiliary/vl: Add video compositor compute shader

Re: [Mesa-dev] [PATCH v4 5/5] gallium/auxiliary/vl: Add video compositor compute shader render

2019-02-11 Thread Marek Olšák
Instead of querying PIPE_CAP_COMPUTE multiple times, you can save the returned value at initialization once and use that. On Fri, Feb 8, 2019 at 2:22 PM Zhu, James wrote: > Add compute shader initilization, assign and cleanup in vl_compositor API. > Set video compositor compute shader render as

[Mesa-dev] [PATCH v4 5/5] gallium/auxiliary/vl: Add video compositor compute shader render

2019-02-08 Thread Zhu, James
Add compute shader initilization, assign and cleanup in vl_compositor API. Set video compositor compute shader render as default when pipe support it. Signed-off-by: James Zhu Reviewed-by: Christian König --- src/gallium/auxiliary/vl/vl_compositor.c | 105 ++-