On 05/25/2016 09:52 PM, Matt Turner wrote:
On Wed, May 25, 2016 at 12:17 PM, Samuel Pitoiset
<samuel.pitoi...@gmail.com> wrote:
This fixes use of compute shaders with some NVIDIA GL 4.3 samples which
require a compat profile.
I'm confused.
The samples you're talking about... use 4.3 compatibility? We already
don't support compatibility profile, so you presumably have to hack
that on.
Yes, this sample requires GL 4.3 and a compat profile.
The ARB_compute_shader extension spec says it requires 4.2, and we
don't expose 4.2 with the compatibility profile. I think you should
have some justification for why it's safe to expose in compatibility
profile, since that's a pretty big change. Or, you don't want to
expose it in compatibility but you need this patch to enable it with
the 4.2-compat hack enabled...?
Sure, I need to override the mesa compat profile version and the glsl
version like:
MESA_GL_VERSION_OVERRIDE=4.3COMPAT MESA_GLSL_VERSION_OVERRIDE=430
Like you I was surprising because with the above hack, glxinfo says that
ARB_compute_shader is exposed. But actually, mesa seems to reject
glDispatchCompute() randomly.
Strangely, ARB_compute_shader says "GLL, GLC" in extensions_table.h,
but it's only core-enabled on my glxinfo.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev