From e2f707ce5b569e40c2a3821149f87659553467f9 Mon Sep 17 00:00:00 2001 From: Iago Toral Quiroga Date: Tue, 14 Mar 2017 13:12:22 +0100 Subject: 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 --- src/intel/blorp/blorp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/intel/blorp/blorp.h') diff --git a/src/intel/blorp/blorp.h b/src/intel/blorp/blorp.h index e0687e92614..eab75d70ab9 100644 --- a/src/intel/blorp/blorp.h +++ b/src/intel/blorp/blorp.h @@ -54,7 +54,7 @@ struct blorp_context { bool (*lookup_shader)(struct blorp_context *blorp, const void *key, uint32_t key_size, uint32_t *kernel_out, void *prog_data_out); - void (*upload_shader)(struct blorp_context *blorp, + bool (*upload_shader)(struct blorp_context *blorp, const void *key, uint32_t key_size, const void *kernel, uint32_t kernel_size, const struct brw_stage_prog_data *prog_data, -- cgit v1.2.3