summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-01-23 20:01:28 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:05 -0800
commitc493fee73fe691b6f61b2613e7f0c764af86968f (patch)
treef37d0dab7acab2efd2c55cb63265012532d44d81 /src/gallium/drivers
parentcf7ba838ad67bbae04e3fb0e232f2de60fe4e1a0 (diff)
iris: drop const from prog data parameters
we ralloc steal things, which makes it a little bogus
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/iris/iris_context.h2
-rw-r--r--src/gallium/drivers/iris/iris_program_cache.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/iris/iris_context.h b/src/gallium/drivers/iris/iris_context.h
index aab8bd0891a..46ef2d17269 100644
--- a/src/gallium/drivers/iris/iris_context.h
+++ b/src/gallium/drivers/iris/iris_context.h
@@ -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);
diff --git a/src/gallium/drivers/iris/iris_program_cache.c b/src/gallium/drivers/iris/iris_program_cache.c
index 1c707a78948..58e3b3c25e9 100644
--- a/src/gallium/drivers/iris/iris_program_cache.c
+++ b/src/gallium/drivers/iris/iris_program_cache.c
@@ -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;