diff options
author | Lionel Landwerlin <[email protected]> | 2017-01-29 02:46:12 +0000 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2017-02-02 01:32:48 +0000 |
commit | 289aef771df79726b5463b2d6d22bb8531846ec1 (patch) | |
tree | 333ecb33b4125a539494c1862d87e40c6da7cdb8 /src/intel/vulkan/genX_cmd_buffer.c | |
parent | 98cf60a3ce27f6afccca3150583793c143eac646 (diff) |
anv: move BaseVertexID/BaseInstanceID vertex buffer index to 31
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/genX_cmd_buffer.c')
-rw-r--r-- | src/intel/vulkan/genX_cmd_buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/genX_cmd_buffer.c b/src/intel/vulkan/genX_cmd_buffer.c index b6b7f7475ce..d3fc95ea185 100644 --- a/src/intel/vulkan/genX_cmd_buffer.c +++ b/src/intel/vulkan/genX_cmd_buffer.c @@ -1595,7 +1595,7 @@ emit_base_vertex_instance_bo(struct anv_cmd_buffer *cmd_buffer, GENX(VERTEX_BUFFER_STATE_pack)(&cmd_buffer->batch, p + 1, &(struct GENX(VERTEX_BUFFER_STATE)) { - .VertexBufferIndex = 32, /* Reserved for this */ + .VertexBufferIndex = ANV_SVGS_VB_INDEX, /* Reserved for this */ .AddressModifyEnable = true, .BufferPitch = 0, #if (GEN_GEN >= 8) |