diff options
author | Ilia Mirkin <[email protected]> | 2015-08-27 23:03:46 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2015-09-10 17:38:29 -0400 |
commit | f9052914e979228d28502a7f7953f98ff4731f99 (patch) | |
tree | 5e7025e5de5eb58f93e6ab9f0df9dae16e4521bc /src/glsl/ir.h | |
parent | 6efae687b7ef46eb1f738f1bc2acbde1805e364b (diff) |
glsl: add ir_texture_samples texture opcode
Will be used for textureSamples()
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r-- | src/glsl/ir.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index 7cdea017af8..bb7fa0e0af4 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -1914,7 +1914,8 @@ enum ir_texture_opcode { ir_txs, /**< Texture size */ ir_lod, /**< Texture lod query */ ir_tg4, /**< Texture gather */ - ir_query_levels /**< Texture levels query */ + ir_query_levels, /**< Texture levels query */ + ir_texture_samples, /**< Texture samples query */ }; |