On Friday, August 28, 2015 12:54:35 PM Ilia Mirkin wrote: > On Fri, Aug 28, 2015 at 6:58 AM, Francisco Jerez <curroje...@riseup.net> > wrote: > > Ilia Mirkin <imir...@alum.mit.edu> writes: > > > >> This should include everything. I sent a test for textureSamples to > >> piglit a while ago, not sure how to test imageSamples -- apparently ms > >> images aren't entirely supported on i965? But I'm not sure via what > >> feat that happens. > >> > > i965 doesn't support MS images because on Gen7-8 it would involve either > > converting all MS textures to UMS on the fly or implementing the > > compressed MS layout in software, which would be even more madness. On > > Gen9 and up though it's supported natively by the hardware and it > > shouldn't be too difficult to implement, I just haven't had the chance > > to do the work yet. > > Yeah, I've heard that before, but... what exactly prevents one from > using a 2DMS image? I didn't see anything that checked if the images > were MS. > > -ilia
We set ctx->Const.MaxImageSamples = 0 (brw_context.c:518), which is exposed to the application as glGetInteger(GL_MAX_IMAGE_SAMPLES). I see some validation code in core Mesa that uses that field, but I haven't looked too closely.
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev