From 3dd0d12aa5fefa94123269a541c94cdf57599e34 Mon Sep 17 00:00:00 2001 From: Caio Marcelo de Oliveira Filho Date: Thu, 12 Mar 2020 14:27:13 -0700 Subject: intel/blorp: Plumb the stage through blorp upload_shader Vulkan uses that for its own upload function -- even though for BLORP it doesn't really currently care. Neither Iris and i965 makes use of it at the moment. Reviewed-by: Jason Ekstrand Tested-by: Marge Bot Part-of: --- src/intel/blorp/blorp.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/intel/blorp/blorp.h') diff --git a/src/intel/blorp/blorp.h b/src/intel/blorp/blorp.h index afee0a96a8c..9ab537177fb 100644 --- a/src/intel/blorp/blorp.h +++ b/src/intel/blorp/blorp.h @@ -49,6 +49,7 @@ struct blorp_context { const void *key, uint32_t key_size, uint32_t *kernel_out, void *prog_data_out); bool (*upload_shader)(struct blorp_batch *batch, + uint32_t stage, 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