aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan
diff options
context:
space:
mode:
authorIago Toral Quiroga <[email protected]>2017-03-14 13:12:22 +0100
committerIago Toral Quiroga <[email protected]>2017-03-16 11:40:05 +0100
commite2f707ce5b569e40c2a3821149f87659553467f9 (patch)
tree6039a8acdac044540ca7a644be34084d4ae754b8 /src/intel/vulkan
parent808503b8f8c0732fccd875ed9183a56672430097 (diff)
intel/blorp: make upload_shader() return a bool indicating success or failure
For now we always return true, follow-up patches will handle fail scenarios. Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r--src/intel/vulkan/anv_blorp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_blorp.c b/src/intel/vulkan/anv_blorp.c
index 9b9995c95c7..26a9396b142 100644
--- a/src/intel/vulkan/anv_blorp.c
+++ b/src/intel/vulkan/anv_blorp.c
@@ -49,7 +49,7 @@ lookup_blorp_shader(struct blorp_context *blorp,
return true;
}
-static void
+static bool
upload_blorp_shader(struct blorp_context *blorp,
const void *key, uint32_t key_size,
const void *kernel, uint32_t kernel_size,
@@ -79,6 +79,8 @@ upload_blorp_shader(struct blorp_context *blorp,
*kernel_out = bin->kernel.offset;
*(const struct brw_stage_prog_data **)prog_data_out = bin->prog_data;
+
+ return true;
}
void