OSDN Git Service

radv: fetch sample index via fmask for image coord as well.
authorDave Airlie <airlied@redhat.com>
Wed, 22 Feb 2017 04:29:09 +0000 (14:29 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 24 Feb 2017 00:31:44 +0000 (10:31 +1000)
commit5e9ead0fa21eb2e3dfaca5485990110e17cc7b79
treee409d549b6d38dcd4872a5faed2785c83441ea2f
parentbdcbe7c76bba3171f4f4c30b29e21f58c9a62856
radv: fetch sample index via fmask for image coord as well.

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.*

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c