diff options
author | Chris Forbes <[email protected]> | 2013-09-26 19:37:30 +1200 |
---|---|---|
committer | Chris Forbes <[email protected]> | 2013-10-05 19:16:32 +1300 |
commit | 7a4754d7d961b06652cc940c37c4f87a9111dc2a (patch) | |
tree | 54e3d8cdf02806dc1502babd4e41ec4878ad2d24 /src/glsl/ir.h | |
parent | 6ce4e7672ed4ca2afe47ca5236f3444d4bc83a4e (diff) |
glsl: add plumbing for GL_ARB_texture_query_levels
Signed-off-by: Chris Forbes <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r-- | src/glsl/ir.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index 885837a7ab7..37f79f44588 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -1560,7 +1560,8 @@ enum ir_texture_opcode { ir_txf_ms, /**< Multisample texture fetch */ ir_txs, /**< Texture size */ ir_lod, /**< Texture lod query */ - ir_tg4 /**< Texture gather */ + ir_tg4, /**< Texture gather */ + ir_query_levels /**< Texture levels query */ }; @@ -1586,6 +1587,7 @@ enum ir_texture_opcode { * (txs <type> <sampler> <lod>) * (lod <type> <sampler> <coordinate>) * (tg4 <type> <sampler> <coordinate> 0) + * (query_levels <type> <sampler>) */ class ir_texture : public ir_rvalue { public: |