diff options
author | Ian Romanick <[email protected]> | 2015-11-17 16:54:31 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2015-11-19 20:17:16 -0800 |
commit | 8343583557fbbf0e04ce8e834a71f00b219232ce (patch) | |
tree | 34281c5946ce874981a3e61f9f4b004cbf402c9d /src/glsl/ir.h | |
parent | ef54434c52385bea59d47dbfcedc6845f33fb231 (diff) |
glsl: Add ir_samples_identical opcode
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Reviewed-by: Chris Forbes <[email protected]>
Diffstat (limited to 'src/glsl/ir.h')
-rw-r--r-- | src/glsl/ir.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/ir.h b/src/glsl/ir.h index d59dee1e369..39156e0e98c 100644 --- a/src/glsl/ir.h +++ b/src/glsl/ir.h @@ -1965,6 +1965,7 @@ enum ir_texture_opcode { ir_tg4, /**< Texture gather */ ir_query_levels, /**< Texture levels query */ ir_texture_samples, /**< Texture samples query */ + ir_samples_identical, /**< Query whether all samples are definitely identical. */ }; @@ -1991,6 +1992,7 @@ enum ir_texture_opcode { * (lod <type> <sampler> <coordinate>) * (tg4 <type> <sampler> <coordinate> <offset> <component>) * (query_levels <type> <sampler>) + * (samples_identical <sampler> <coordinate>) */ class ir_texture : public ir_rvalue { public: |