> + for (i = 0; i < program->shader->NumImages; i++) { > + if (program->images_used & (1 << i)) { > + t->images[i] = ureg_DECL_image(ureg, i, > + program->image_targets[i], > + program->image_formats[i], > + true, false);
Can we not know if the image is writable from the GL level? at least I think deserves a comment on why gallium has this but GL doesn't if we can't. Dave. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev