Re: [Mesa-dev] [PATCH] radv: fetch sample index via fmask for image coord as well.

2017-02-22 Thread Bas Nieuwenhuizen
On Wed, Feb 22, 2017 at 5:31 AM, Dave Airlie wrote: > From: Dave Airlie > > This follows the txf_ms code, I can't figure out why amdgpu-pro > doesn't do this in their shaders, they must know someone we don't. > > This fixes: > dEQP-VK.pipeline.multisample_shader_builtin.sample_id.* > > Signed-off

[Mesa-dev] [PATCH] radv: fetch sample index via fmask for image coord as well.

2017-02-21 Thread Dave Airlie
From: Dave Airlie This follows the txf_ms code, I can't figure out why amdgpu-pro doesn't do this in their shaders, they must know someone we don't. This fixes: dEQP-VK.pipeline.multisample_shader_builtin.sample_id.* Signed-off-by: Dave Airlie --- src/amd/common/ac_nir_to_llvm.c | 180 +++