Module: Mesa
Branch: main
Commit: 2215377aa00208312e09eb2f0ea8692e871db8f0
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=2215377aa00208312e09eb2f0ea8692e871db8f0

Author: Mike Blumenkrantz <[email protected]>
Date:   Thu Jun 23 16:59:13 2022 -0400

zink: change zink_create_gfx_program signature

no functional changes

Reviewed-by: Dave Airlie <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17225>

---

 src/gallium/drivers/zink/zink_program.c | 2 +-
 src/gallium/drivers/zink/zink_program.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/zink/zink_program.c 
b/src/gallium/drivers/zink/zink_program.c
index d3146b82851..a0cee30041c 100644
--- a/src/gallium/drivers/zink/zink_program.c
+++ b/src/gallium/drivers/zink/zink_program.c
@@ -428,7 +428,7 @@ assign_io(struct zink_gfx_program *prog, struct zink_shader 
*stages[ZINK_SHADER_
 
 struct zink_gfx_program *
 zink_create_gfx_program(struct zink_context *ctx,
-                        struct zink_shader *stages[ZINK_SHADER_COUNT],
+                        struct zink_shader **stages,
                         unsigned vertices_per_patch)
 {
    struct zink_screen *screen = zink_screen(ctx->base.screen);
diff --git a/src/gallium/drivers/zink/zink_program.h 
b/src/gallium/drivers/zink/zink_program.h
index 775919af331..ab2e72288ee 100644
--- a/src/gallium/drivers/zink/zink_program.h
+++ b/src/gallium/drivers/zink/zink_program.h
@@ -208,7 +208,7 @@ zink_update_gfx_program(struct zink_context *ctx, struct 
zink_gfx_program *prog)
 
 struct zink_gfx_program *
 zink_create_gfx_program(struct zink_context *ctx,
-                        struct zink_shader *stages[ZINK_SHADER_COUNT],
+                        struct zink_shader **stages,
                         unsigned vertices_per_patch);
 
 void

Reply via email to