diff options
| author | Mark Lobodzinski <mark@lunarg.com> | 2017-03-01 13:58:47 -0700 |
|---|---|---|
| committer | Mark Lobodzinski <mark@lunarg.com> | 2017-03-13 16:02:59 -0600 |
| commit | 30d58922251a62b7d06b7d1382b8ac5afb03fc25 (patch) | |
| tree | d34a8f159301e0156234aabd63f2038c5278761a /layers/core_validation.cpp | |
| parent | 2a9110e8c18c2f58617398ca7e1bb734aff026a0 (diff) | |
| download | usermoji-30d58922251a62b7d06b7d1382b8ac5afb03fc25.tar.xz | |
layers: Add drawIndirectFirstInstance feature TODOs
Change-Id: Iba54a78bc72ef169faeb6ce3e92b392c738e0bbe
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 56fdf57f..5a2d4d89 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -7566,6 +7566,8 @@ static bool PreCallValidateCmdDrawIndirect(layer_data *dev_data, VkCommandBuffer VALIDATION_ERROR_01381, VALIDATION_ERROR_02234); *buffer_state = GetBufferState(dev_data, buffer); skip |= ValidateMemoryIsBoundToBuffer(dev_data, *buffer_state, caller, VALIDATION_ERROR_02544); + // TODO: If the drawIndirectFirstInstance feature is not enabled, all the firstInstance members of the + // VkDrawIndirectCommand structures accessed by this command must be 0, which will require access to the contents of 'buffer'. return skip; } @@ -7599,6 +7601,9 @@ static bool PreCallValidateCmdDrawIndexedIndirect(layer_data *dev_data, VkComman VALIDATION_ERROR_01393, VALIDATION_ERROR_02272); *buffer_state = GetBufferState(dev_data, buffer); skip |= ValidateMemoryIsBoundToBuffer(dev_data, *buffer_state, caller, VALIDATION_ERROR_02545); + // TODO: If the drawIndirectFirstInstance feature is not enabled, all the firstInstance members of the + // VkDrawIndexedIndirectCommand structures accessed by this command must be 0, which will require access to the contents of + // 'buffer'. return skip; } |
