Re: [Mesa-dev] [PATCH 6/8] nir: Add nir_texop_samples_identical opcode

2015-11-18 Thread Jason Ekstrand
On Wed, Nov 18, 2015 at 4:23 PM, Kenneth Graunke wrote: > On Wednesday, November 18, 2015 03:46:52 PM Ian Romanick wrote: >> From: Ian Romanick >> >> This is the NIR analog to GLSL IR ir_samples_identical. However, the >> NIR has an extra source. This is a fake sample index with a type >> nir_t

Re: [Mesa-dev] [PATCH 6/8] nir: Add nir_texop_samples_identical opcode

2015-11-18 Thread Kenneth Graunke
On Wednesday, November 18, 2015 03:46:52 PM Ian Romanick wrote: > From: Ian Romanick > > This is the NIR analog to GLSL IR ir_samples_identical. However, the > NIR has an extra source. This is a fake sample index with a type > nir_tex_src_ms_index. This enables backends to (likely) share more

[Mesa-dev] [PATCH 6/8] nir: Add nir_texop_samples_identical opcode

2015-11-18 Thread Ian Romanick
From: Ian Romanick This is the NIR analog to GLSL IR ir_samples_identical. However, the NIR has an extra source. This is a fake sample index with a type nir_tex_src_ms_index. This enables backends to (likely) share more code with the existing nir_texop_txf_ms implementation. Signed-off-by: Ia