nir: Add nir_texop_samples_identical opcode
authorIan Romanick <ian.d.romanick@intel.com>
Wed, 18 Nov 2015 01:09:09 +0000 (17:09 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 20 Nov 2015 04:17:16 +0000 (20:17 -0800)
commit457bb290efc162ea3c7c51a820ab7cf88a4efb8d
tree33bfa15fcb89fae6ff9783adb33ef8da313c4598
parent06c56f443aa1850b2651df3636c42a8740cff847
nir: Add nir_texop_samples_identical opcode

This is the NIR analog to GLSL IR ir_samples_identical.

v2: Don't add the second nir_tex_src_ms_index parameter.  Suggested by
Ken and Jason.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@intel.com>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
src/gallium/drivers/freedreno/ir3/ir3_compiler_nir.c
src/glsl/nir/glsl_to_nir.cpp
src/glsl/nir/nir.h
src/glsl/nir/nir_print.c
src/mesa/drivers/dri/i965/brw_fs_nir.cpp
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp