summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-11-21 16:53:09 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:10 -0800
commite628095b9a9be941abdb7bbfa9801a56fc50e666 (patch)
treec0310efbb2aa18a740562d4b7880211efc387992 /src/gallium/drivers/iris
parente5df8913e191f0a190f9a693e3fd2400bed0348d (diff)
iris: fix comment location
Diffstat (limited to 'src/gallium/drivers/iris')
-rw-r--r--src/gallium/drivers/iris/iris_program.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/iris/iris_program.c b/src/gallium/drivers/iris/iris_program.c
index 2b85083d337..f34888a7a93 100644
--- a/src/gallium/drivers/iris/iris_program.c
+++ b/src/gallium/drivers/iris/iris_program.c
@@ -254,11 +254,6 @@ iris_create_uncompiled_shader(struct pipe_context *ctx,
return ish;
}
-/**
- * The pipe->delete_[stage]_state() driver hooks.
- *
- * Frees the iris_uncompiled_shader.
- */
static void *
iris_create_shader_state(struct pipe_context *ctx,
const struct pipe_shader_state *state)
@@ -278,6 +273,11 @@ iris_create_compute_state(struct pipe_context *ctx,
return iris_create_uncompiled_shader(ctx, (void *) state->prog, NULL);
}
+/**
+ * The pipe->delete_[stage]_state() driver hooks.
+ *
+ * Frees the iris_uncompiled_shader.
+ */
static void
iris_delete_shader_state(struct pipe_context *ctx, void *state)
{