A call to get dimensions of image units in GLSL, just like textureSize
Not exactly a big suggestion but here goes...
textureSize(sampler, level) is a handy function to get texture dimensions in a shader without having to pass them in by hand as uniforms.
It'd be really useful to have this feature for image units from the image_load_store extension too. Does a method already exist and I've missed it or is it useful to enough people to be in this forum?
Tags for this Thread