radv: add support for writing layer/viewport index (v2)
authorDave Airlie <airlied@redhat.com>
Mon, 16 Jan 2017 21:04:52 +0000 (07:04 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 17 Jan 2017 20:20:44 +0000 (06:20 +1000)
commit6b635bbe16c93ad13afa3390d20c2f0f033e065d
tree9f3b0b733eaa6d8b7164f4cd489efaa3645e1dd4
parent3b4bf8aa636768f4ad5fb636b8406e58d0d78f62
radv: add support for writing layer/viewport index (v2)

This just adds the infrastructure to allow writing layer
and viewport index. It's just a first patch out of the geom
shader tree, and doesn't do much on its own.

v2: add missing if statement change (Bas)

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