width must be a power of two
- height0 must be 1
- depth0 must be 1
+- array_size must be 1 for PIPE_TEXTURE_1D
- Mipmaps can be used
- Must use normalized coordinates
2D surface with OpenGL GL_TEXTURE_RECTANGLE semantics.
- depth0 must be 1
+- array_size must be 1
- last_level must be 0
- Must use unnormalized coordinates
- Must use a clamp wrap mode
- If PIPE_CAP_NPOT_TEXTURES is not supported,
width and height must be powers of two
- depth0 must be 1
+- array_size must be 1 for PIPE_TEXTURE_2D
- Mipmaps can be used
- Must use normalized coordinates
- No special restrictions on wrap modes
- If PIPE_CAP_NPOT_TEXTURES is not supported,
width, height and depth must be powers of two
+- array_size must be 1
- Must use normalized coordinates
OpenGL: GL_TEXTURE_3D in GL 1.2 or GL_EXT_texture3D
resulting in filtering taking samples from multiple surfaces near to the edge.
- Width and height must be equal
+- depth0 must be 1
+- array_size must be a multiple of 6
- If PIPE_CAP_NPOT_TEXTURES is not supported,
width and height must be powers of two
- Must use normalized coordinates