diff options
author | Francisco Jerez <[email protected]> | 2013-12-07 23:35:04 +0100 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2014-01-15 16:42:07 +0100 |
commit | d9b0b4e960b07140e5ece4b4ff6a142277408bfb (patch) | |
tree | 8100fdfea803f569c06f804d4f748cb8368b9c2b /src/mesa/main/config.h | |
parent | bfcf78c1101a1cbcdd9a479722203047c8d6c26a (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