aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorLionel Landwerlin <[email protected]>2017-01-29 03:15:03 +0000
committerLionel Landwerlin <[email protected]>2017-02-02 01:33:06 +0000
commit9413e11869cfeb95417df5a01101fa5d42c733e8 (patch)
treef0507cbda00c2e4e814bc6a4bc4fddd647f0a1e4 /src/intel/vulkan/anv_private.h
parent543d5db4e250a48e976a529b5e45047d5c53ab80 (diff)
anv: emit DrawID if needed
v2: use define for buffer ID (Jason) Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Anuj Phogat <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 9418a144707..51e85c74bd1 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -97,6 +97,7 @@ extern "C" {
#define MAX_IMAGES 8
#define ANV_SVGS_VB_INDEX MAX_VBS
+#define ANV_DRAWID_VB_INDEX (MAX_VBS + 1)
#define anv_printflike(a, b) __attribute__((__format__(__printf__, a, b)))
@@ -1630,7 +1631,7 @@ struct anv_image {
/**
* For color images, this is the aux usage for this image when not used as a
* color attachment.
- *
+ *
* For depth/stencil images, this is set to ISL_AUX_USAGE_HIZ if the image
* has a HiZ buffer.
*/