[Mesa-dev] [PATCH 6/7] st/mesa: convert GLSL image intrinsics into TGSI
Dave Airlie
airlied at gmail.com
Sat Jan 30 23:37:31 PST 2016
> + 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.
More information about the mesa-dev
mailing list