diff options
| author | Chris Forbes <chrisforbes@google.com> | 2017-08-16 13:18:37 -0700 |
|---|---|---|
| committer | Chris Forbes <chrisf@ijw.co.nz> | 2017-08-17 09:49:34 -0700 |
| commit | 93bb8547abb97af0911ea558298752653a1e430a (patch) | |
| tree | b10cbcd1b54df652cb4585248322cc14b6ac8199 /layers/core_validation.cpp | |
| parent | 5ecdc12e4f0451468596b4d8591dfae384d66c43 (diff) | |
| download | usermoji-93bb8547abb97af0911ea558298752653a1e430a.tar.xz | |
layers: Drop error for binding compute pipeline inside renderpass
It's perfectly valid to bind the compute pipeline inside a renderpass.
An application only may not /dispatch/ compute work inside a
renderpass.
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 9c79bfe8..79c42f9b 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -5128,13 +5128,6 @@ VKAPI_ATTR void VKAPI_CALL CmdBindPipeline(VkCommandBuffer commandBuffer, VkPipe skip |= ValidateCmdQueueFlags(dev_data, cb_state, "vkCmdBindPipeline()", VK_QUEUE_GRAPHICS_BIT | VK_QUEUE_COMPUTE_BIT, VALIDATION_ERROR_18002415); skip |= ValidateCmd(dev_data, cb_state, CMD_BINDPIPELINE, "vkCmdBindPipeline()"); - if ((VK_PIPELINE_BIND_POINT_COMPUTE == pipelineBindPoint) && (cb_state->activeRenderPass)) { - skip |= - log_msg(dev_data->report_data, VK_DEBUG_REPORT_ERROR_BIT_EXT, VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT, - HandleToUint64(pipeline), __LINE__, DRAWSTATE_INVALID_RENDERPASS_CMD, "DS", - "Incorrectly binding compute pipeline (0x%" PRIxLEAST64 ") during active RenderPass (0x%" PRIxLEAST64 ")", - HandleToUint64(pipeline), HandleToUint64(cb_state->activeRenderPass->renderPass)); - } // TODO: VALIDATION_ERROR_18000612 VALIDATION_ERROR_18000616 auto pipe_state = getPipelineState(dev_data, pipeline); |
