radv/gfx10: determine if a pipeline is eligible for NGG passthrough
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 9 Jan 2020 07:23:12 +0000 (08:23 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 13 Jan 2020 07:14:40 +0000 (08:14 +0100)
commit0758f645d0784942cd2ba99376d0224c61c4ee99
tree528cc3737c4694f254d3dbdc6a322bcd4ffc46fc
parentc65015f83c3bad4c140a013bac2c9eb59abec907
radv/gfx10: determine if a pipeline is eligible for NGG passthrough

It can't be enabled for geometry shaders, for NGG streamout and
for vertex shaders that export the primitive ID. NGG passthrough
requires that LDS isn't used.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_shader.h
src/amd/vulkan/radv_shader_info.c