turnip: fix segmentation fault with compute pipeline

Not supported, so always set pointer to NULL

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
This commit is contained in:
Jonathan Marek 2019-10-14 11:25:11 -04:00
parent eef195c9cc
commit 467f9982df
1 changed files with 1 additions and 1 deletions

View File

@ -1924,8 +1924,8 @@ tu_CreateComputePipelines(VkDevice _device,
pAllocator, &pPipelines[i]);
if (r != VK_SUCCESS) {
result = r;
pPipelines[i] = VK_NULL_HANDLE;
}
pPipelines[i] = VK_NULL_HANDLE;
}
return result;