aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno
diff options
context:
space:
mode:
authorJonathan Marek <[email protected]>2019-10-14 11:25:11 -0400
committerJonathan Marek <[email protected]>2019-10-15 07:56:19 -0400
commit467f9982dfc1118ac0c47b95320c94793ba37aa5 (patch)
treeab84f5b15fdbddf929aa130050f409c13df9eda0 /src/freedreno
parenteef195c9cc90076702b9b87c290abb98d8da4d8d (diff)
turnip: fix segmentation fault with compute pipeline
Not supported, so always set pointer to NULL Signed-off-by: Jonathan Marek <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/freedreno')
-rw-r--r--src/freedreno/vulkan/tu_pipeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/vulkan/tu_pipeline.c b/src/freedreno/vulkan/tu_pipeline.c
index 29f394c82f0..241a009040c 100644
--- a/src/freedreno/vulkan/tu_pipeline.c
+++ b/src/freedreno/vulkan/tu_pipeline.c
@@ -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;