summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>2017-01-29 02:46:12 +0000
committerLionel Landwerlin <lionel.g.landwerlin@intel.com>2017-02-02 01:32:48 +0000
commit289aef771df79726b5463b2d6d22bb8531846ec1 (patch)
tree333ecb33b4125a539494c1862d87e40c6da7cdb8 /src/intel/vulkan/anv_private.h
parent98cf60a3ce27f6afccca3150583793c143eac646 (diff)
anv: move BaseVertexID/BaseInstanceID vertex buffer index to 31
v2: use define for buffer ID (Jason) Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 1cf33b76c64..9418a144707 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -96,6 +96,8 @@ extern "C" {
#define MAX_DYNAMIC_BUFFERS 16
#define MAX_IMAGES 8
+#define ANV_SVGS_VB_INDEX MAX_VBS
+
#define anv_printflike(a, b) __attribute__((__format__(__printf__, a, b)))
static inline uint32_t