aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBas Nieuwenhuizen <[email protected]>2020-01-02 12:29:29 +0100
committerMarge Bot <[email protected]>2020-01-02 11:47:02 +0000
commitb72182fcfa624b2cd7e19dd6c8e5ae60b2679dde (patch)
treec1aa9db3b6dcb5890d3cb0e5c75c14c090a494d8
parent973181c06cca3fe232c3a435abde31f2fc1b81ef (diff)
turnip: Use VK_NULL_HANDLE instead of NULL.
Only occurrence of implicitly converting pointer->int. Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Dylan Baker <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2570>
-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 799b0b2a3de..e5066672177 100644
--- a/src/freedreno/vulkan/tu_pipeline.c
+++ b/src/freedreno/vulkan/tu_pipeline.c
@@ -1980,7 +1980,7 @@ tu_graphics_pipeline_create(VkDevice device,
if (result == VK_SUCCESS)
*pPipeline = tu_pipeline_to_handle(pipeline);
else
- *pPipeline = NULL;
+ *pPipeline = VK_NULL_HANDLE;
return result;
}