mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-01-29 17:52:18 +01:00
[dxvk] Check whether renderpass is null before creating pipeline
This commit is contained in:
parent
6f6e12a329
commit
ec161823e5
@ -273,6 +273,10 @@ namespace dxvk {
|
||||
|
||||
bool DxvkGraphicsPipeline::validatePipelineState(
|
||||
const DxvkGraphicsPipelineStateInfo& state) const {
|
||||
// Make sure that we have an active render pass
|
||||
if (state.omRenderPass == VK_NULL_HANDLE)
|
||||
return false;
|
||||
|
||||
// Validate vertex input - each input slot consumed by the
|
||||
// vertex shader must be provided by the input layout.
|
||||
uint32_t providedVertexInputs = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user