I've been trying to find a clear answer, but it seems no one has clearly asked the question.
Can I use a 1D sampler and 1D texture in WebGL Chrome, Firefox, Safari, IE, etc?
EDIT
Understandably 1 is indeed a power of 2 (2^0=1) meaning you could effectively use a 2D sampler and texture using a height of 1 and a width of 256 or 512 etc. to replicate a 1D texture.
1D textures are not moot, they exist because they not only have a purpose, but are intended to translate into optimizations on the GPU itself (as opposed to a 2D texture). Remember that each parameter takes time to load onto the call stack, and almost all GPU programming is an art of optimizing every possible operation.
Compute shaders have frequent need for a single list of floats without the extra dimension, using a 1D texture and sampler provides the same clarity strong typing provides. Ie representing 1D data in a 1D structure, and representing 2D data in a 2D structure. It also removes extra operations required in index to row/column translations.
The questions wasn't if there is a good reason for them, it was are they supported yet.
In WebGL 1.0 based on OpenGL ES 2.0 as of 09/MAY/2014
- There is currently no 1D texture or sampler support.