radv: handle primitive id input into fragment shader with no geom shader
authorDave Airlie <airlied@redhat.com>
Tue, 20 Jun 2017 03:21:04 +0000 (13:21 +1000)
committerDave Airlie <airlied@redhat.com>
Sun, 25 Jun 2017 22:45:30 +0000 (08:45 +1000)
commit6a68170c8360d702a25e59740d04f79a4f8323a7
tree64fbdaf11d2657331de0e29746a774f0e0e5aab6
parent2a87ddbdcb3129606f237d4eedf9cad588b5b4d9
radv: handle primitive id input into fragment shader with no geom shader

Fixes:
dEQP-VK.pipeline.framebuffer_attachment.no_attachments
dEQP-VK.pipeline.framebuffer_attachment.no_attachments_ms

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/common/ac_nir_to_llvm.c
src/amd/common/ac_nir_to_llvm.h
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/si_cmd_buffer.c