iris: fix comment location
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 22 Nov 2018 00:53:09 +0000 (16:53 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:10 +0000 (10:26 -0800)
src/gallium/drivers/iris/iris_program.c

index 2b85083d337a111872a71bee07b8f86c2a5a8c29..f34888a7a93fa73646778f7e9e48f1982110c34b 100644 (file)
@@ -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)
 {