Re: [Mesa-dev] [PATCH v2 19/20] st/mesa: expose ARB_compute_shader when compute is supported

2016-02-07 Thread Samuel Pitoiset
On 02/07/2016 01:02 AM, Ilia Mirkin wrote: On Sat, Feb 6, 2016 at 5:04 PM, Samuel Pitoiset wrote: ARB_compute_shader is only enabled if the underlying driver exposes TGSI through the PIPE_CAP_SHADER_SUPPORTED_IRS cap. Changes from v2: - make use of the new PIPE_CAP_SHADER_SUPPORTED_IRS cap

Re: [Mesa-dev] [PATCH v2 19/20] st/mesa: expose ARB_compute_shader when compute is supported

2016-02-06 Thread Ilia Mirkin
On Sat, Feb 6, 2016 at 5:04 PM, Samuel Pitoiset wrote: > ARB_compute_shader is only enabled if the underlying driver exposes > TGSI through the PIPE_CAP_SHADER_SUPPORTED_IRS cap. > > Changes from v2: > - make use of the new PIPE_CAP_SHADER_SUPPORTED_IRS cap instead of >enabling the extension

[Mesa-dev] [PATCH v2 19/20] st/mesa: expose ARB_compute_shader when compute is supported

2016-02-06 Thread Samuel Pitoiset
ARB_compute_shader is only enabled if the underlying driver exposes TGSI through the PIPE_CAP_SHADER_SUPPORTED_IRS cap. Changes from v2: - make use of the new PIPE_CAP_SHADER_SUPPORTED_IRS cap instead of enabling the extension when PIPE_CAP_COMPUTE is enabled. Signed-off-by: Samuel Pitoiset