glsl/shader_enums: Add an enum for Vulkan InstanceIndex
authorJason Ekstrand <jason.ekstrand@intel.com>
Fri, 25 Mar 2016 17:50:11 +0000 (10:50 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Mon, 11 Apr 2016 20:52:51 +0000 (13:52 -0700)
commit22836dbefa8b57fd788adf2693d7aab73c4de16a
tree25608fcf229a15e93c35deb31acb1eb90c84500b
parent581c8016f846643ed9e836604211f4a46cef57e5
glsl/shader_enums: Add an enum for Vulkan InstanceIndex

In Vulkan, you have InstanceIndex which begins at the base instance value
rather than the zero-based InstanceID of GL.

Reviewed-by: Rob Clark <robdclark@gmail.com>
src/compiler/shader_enums.c
src/compiler/shader_enums.h