iris: drop const from prog data parameters

we ralloc steal things, which makes it a little bogus
This commit is contained in:
Kenneth Graunke 2018-01-23 20:01:28 -08:00
parent cf7ba838ad
commit c493fee73f
2 changed files with 2 additions and 2 deletions

View File

@ -190,7 +190,7 @@ void iris_upload_and_bind_shader(struct iris_context *ice,
enum iris_program_cache_id cache_id,
const void *key,
const void *assembly,
const struct brw_stage_prog_data *prog_data);
struct brw_stage_prog_data *prog_data);
const void *iris_find_previous_compile(struct iris_program_cache *cache,
enum iris_program_cache_id cache_id,
unsigned program_string_id);

View File

@ -246,7 +246,7 @@ iris_upload_and_bind_shader(struct iris_context *ice,
enum iris_program_cache_id cache_id,
const void *key,
const void *assembly,
const struct brw_stage_prog_data *prog_data)
struct brw_stage_prog_data *prog_data)
{
struct iris_screen *screen = (void *) ice->ctx.screen;
struct gen_device_info *devinfo = &screen->devinfo;