diff options
| author | Chris Forbes <chrisforbes@google.com> | 2017-06-21 13:23:37 -0700 |
|---|---|---|
| committer | Chris Forbes <chrisf@ijw.co.nz> | 2017-06-21 17:49:25 -0700 |
| commit | ababeb9889c91d94dcd16e0427211df49352eb8d (patch) | |
| tree | fff88041381b61e900667754a236d9ab363a9138 | |
| parent | 3b412cad8970cb2933f294d9a1648274938c04de (diff) | |
| download | usermoji-ababeb9889c91d94dcd16e0427211df49352eb8d.tar.xz | |
layers: Rename verifyPipelineCreateState to match new role
| -rw-r--r-- | layers/core_validation.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index a20db67e..d899d971 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -1179,7 +1179,7 @@ static bool verifyLineWidth(layer_data *dev_data, DRAW_STATE_ERROR dsError, Vulk } // Verify that create state for a pipeline is valid -static bool verifyPipelineCreateState(layer_data *dev_data, std::vector<PIPELINE_STATE *> const &pPipelines, int pipelineIndex) { +static bool ValidatePipelineLocked(layer_data *dev_data, std::vector<PIPELINE_STATE *> const &pPipelines, int pipelineIndex) { bool skip = false; PIPELINE_STATE *pPipeline = pPipelines[pipelineIndex]; @@ -4429,7 +4429,7 @@ VKAPI_ATTR VkResult VKAPI_CALL CreateGraphicsPipelines(VkDevice device, VkPipeli } for (i = 0; i < count; i++) { - skip |= verifyPipelineCreateState(dev_data, pipe_state, i); + skip |= ValidatePipelineLocked(dev_data, pipe_state, i); } lock.unlock(); @@ -4478,7 +4478,6 @@ VKAPI_ATTR VkResult VKAPI_CALL CreateComputePipelines(VkDevice device, VkPipelin // TODO: Add Compute Pipeline Verification skip |= validate_compute_pipeline(dev_data, pPipeState[i]); - // skip |= verifyPipelineCreateState(dev_data, pPipeState[i]); } if (skip) { |
