summaryrefslogtreecommitdiffstats
path: root/src/intel/blorp/blorp_blit.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-11-01 14:16:34 -0700
committerJason Ekstrand <[email protected]>2016-11-02 09:32:19 -0700
commit4306c10a885bdd833328a2a4eeb0079aa4f4bae3 (patch)
treeba1c79604ccd2d91bc936e56e0d4fe30cc1b6e39 /src/intel/blorp/blorp_blit.c
parent058304f0819c96fd18eb17911022a410540aa295 (diff)
intel/blorp: Pass a brw_stage_prog_data to upload_shader
Signed-off-by: Jason Ekstrand <[email protected]> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98012 Reviewed-by: Topi Pohjolainen <[email protected]> Reviewed-by: Timothy Arceri <[email protected]> Cc: "13.0" <[email protected]>
Diffstat (limited to 'src/intel/blorp/blorp_blit.c')
-rw-r--r--src/intel/blorp/blorp_blit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/blorp/blorp_blit.c b/src/intel/blorp/blorp_blit.c
index d1e7212d520..11083350dc5 100644
--- a/src/intel/blorp/blorp_blit.c
+++ b/src/intel/blorp/blorp_blit.c
@@ -1252,7 +1252,7 @@ brw_blorp_get_blit_kernel(struct blorp_context *blorp,
blorp->upload_shader(blorp, prog_key, sizeof(*prog_key),
program, program_size,
- &prog_data, sizeof(prog_data),
+ &prog_data.base, sizeof(prog_data),
&params->wm_prog_kernel, &params->wm_prog_data);
ralloc_free(mem_ctx);