[Bug 97447] GL 3.0 compatibility context exposes GL_ARB_compute_shader

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 23 16:08:23 UTC 2016


--- Comment #6 from Evan Odabashian <evan at techsoft3d.com> ---
For what it's worth, I started looking at the actual errors I was getting from
my shader to see if it could in fact work. 

Enabling #extension GL_ARB_shader_image_load_store cleans up the first error
and leaves me with this:

0:140(24): error: local_size_x qualifier requires GLSL 4.30 or GLSL ES 3.10 or

Enabling #extension GL_ARB_compute_shader (which seems like a strange thing to
have to do in a compute shader, also the spec make so mention of this directive
existing) actually gets the glCompile call to succeed. Upon linking the program
though I get these errors:

error: Too many compute shader texture samplers
error: Too many compute shader image uniforms (1 > 0)

(this shader has one image and one sampler)

return 0 on this context, while the ARB_compute_shader spec says the minimum
values for these should be 16 and 8 respectively.

I don't think the issue here is whether a compatibility context is allowed to
support ARB_compute_shader (many do on Windows) but whether this particular 3.0
context really intended to expose it or if it was leaking out by accident,


You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20160823/fd2ae007/attachment.html>

More information about the intel-3d-bugs mailing list