summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-07-25 20:52:10 +0200
committerErik Faye-Lund <[email protected]>2019-10-28 08:51:48 +0000
commitdf11f3f2ab270c3801762b28cf6854a82639a934 (patch)
treefeff0efc725a4102d84c9cca433cba3af5c5a56a /src/gallium/drivers
parentd5cbc05cde2b2b786a6619d34e94d3954d1e9eac (diff)
zink: fixup return-value
Acked-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/zink/zink_program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/zink/zink_program.c b/src/gallium/drivers/zink/zink_program.c
index 39a7cde21d4..020b311f493 100644
--- a/src/gallium/drivers/zink/zink_program.c
+++ b/src/gallium/drivers/zink/zink_program.c
@@ -236,7 +236,7 @@ zink_get_gfx_pipeline(struct zink_screen *screen,
struct pipeline_cache_entry *pc_entry = CALLOC_STRUCT(pipeline_cache_entry);
if (!pc_entry)
- return NULL;
+ return VK_NULL_HANDLE;
memcpy(&pc_entry->state, state, sizeof(*state));
pc_entry->pipeline = pipeline;