<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - GL 3.0 compatibility context exposes GL_ARB_compute_shader"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97447#c8">Comment # 8</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - GL 3.0 compatibility context exposes GL_ARB_compute_shader"
href="https://bugs.freedesktop.org/show_bug.cgi?id=97447">bug 97447</a>
from <span class="vcard"><a class="email" href="mailto:jljusten@gmail.com" title="Jordan Justen <jljusten@gmail.com>"> <span class="fn">Jordan Justen</span></a>
</span></b>
<pre>(In reply to Ilia Mirkin from <a href="show_bug.cgi?id=97447#c7">comment #7</a>)
<span class="quote">> (In reply to Evan Odabashian from <a href="show_bug.cgi?id=97447#c6">comment #6</a>)
> > error: Too many compute shader texture samplers
> > error: Too many compute shader image uniforms (1 > 0)
> >
> > (this shader has one image and one sampler)
> >
> > Querying MAX_COMPUTE_TEXTURE_IMAGE_UNITS and MAX_COMPUTE_IMAGE_UNIFORMS both
> > return 0 on this context, while the ARB_compute_shader spec says the minimum
> > values for these should be 16 and 8 respectively.
>
> That sounds like a bug specific to i965 initialization, trivially fixable.</span >
I think updating the stage_exists init in
brw_initialize_context_constants might help this.
Right now it will always set stage_exits[MESA_SHADER_COMPUTE]
to false when ctx->API == API_OPENGL_COMPAT.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>