radv: enable VK_EXT_shader_viewport_index_layer
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 2 Apr 2018 16:17:55 +0000 (18:17 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 3 Apr 2018 12:05:46 +0000 (14:05 +0200)
commitacf60abc54fa86378c57d9c44890a9b6f3d6ed5c
treeac3dc177385a81713e7a7b53d9fd6b368a750266
parent51888bf07dd2f9942708f9a265b18a129ee625f1
radv: enable VK_EXT_shader_viewport_index_layer

The driver already supports exporting the Layer and ViewportIndex
built-ins from vertex or tessellation shaders.

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