radv: Use 0 for the layer id if the vertex shader does not export it.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 17 Aug 2017 22:32:41 +0000 (00:32 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 24 Aug 2017 17:20:47 +0000 (19:20 +0200)
commit64164a1313fcdf1084b0f8a9499165ee22a13aa7
tree53545da2e045ee03804e74ea60dcf2979016d9d9
parent3d5f29f5f9217149cbeb3022f6bd2004bf98f30a
radv: Use 0 for the layer id if the vertex shader does not export it.

To use when we have e.g. input attachments, but there is no layer
export in the previous shader and hence no layered rendering.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_pipeline.c