diff options
author | Iago Toral Quiroga <[email protected]> | 2017-03-14 13:12:22 +0100 |
---|---|---|
committer | Iago Toral Quiroga <[email protected]> | 2017-03-16 11:40:05 +0100 |
commit | e2f707ce5b569e40c2a3821149f87659553467f9 (patch) | |
tree | 6039a8acdac044540ca7a644be34084d4ae754b8 /src/intel/blorp/blorp.h | |
parent | 808503b8f8c0732fccd875ed9183a56672430097 (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/blorp/blorp.h')
-rw-r--r-- | src/intel/blorp/blorp.h | 2 |
1 files changed, 1 insertions, 1 deletions
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, |