aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/config.h
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2013-12-07 23:35:04 +0100
committerFrancisco Jerez <[email protected]>2014-01-15 16:42:07 +0100
commitd9b0b4e960b07140e5ece4b4ff6a142277408bfb (patch)
tree8100fdfea803f569c06f804d4f748cb8368b9c2b /src/mesa/main/config.h
parentbfcf78c1101a1cbcdd9a479722203047c8d6c26a (diff)
mesa: Define helper function to get the number of texture layers.
And to check if it can have layers at all. This will be used by the implementation of ARB_shader_image_load_store. v2: Fix constness of texobj argument, use assert and return reasonable default rather than calling unreachable() in default switch case. Reviewed-by: Paul Berry <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/config.h')
0 files changed, 0 insertions, 0 deletions