summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/iris/iris_screen.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2018-01-20 02:01:07 -0800
committerKenneth Graunke <[email protected]>2019-02-21 10:26:05 -0800
commit4525dda75f188c05f6bcf1ba0d76806dc4c7dc73 (patch)
tree2b3d29cc8a5522366b1b15482f3dd254ba0a1f0b /src/gallium/drivers/iris/iris_screen.c
parent628a71c2e35ad245c1ef587c20fd1dfe86738007 (diff)
iris: reworks, FS compile pieces
Diffstat (limited to 'src/gallium/drivers/iris/iris_screen.c')
-rw-r--r--src/gallium/drivers/iris/iris_screen.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gallium/drivers/iris/iris_screen.c b/src/gallium/drivers/iris/iris_screen.c
index 2a79411a64b..677860ee3e1 100644
--- a/src/gallium/drivers/iris/iris_screen.c
+++ b/src/gallium/drivers/iris/iris_screen.c
@@ -467,17 +467,16 @@ iris_getparam_integer(struct iris_screen *screen, int param)
static void
iris_shader_debug_log(void *data, const char *fmt, ...)
{
- // XXX: is data ice?
- struct iris_context *ice = data;
- struct pipe_debug_callback *dbg = &ice->dbg;
- unsigned msg_id = 0;
+ struct pipe_debug_callback *dbg = data;
+ unsigned id = 0;
va_list args;
if (!dbg->debug_message)
return;
va_start(args, fmt);
- dbg->debug_message(ice, &msg_id, PIPE_DEBUG_TYPE_SHADER_INFO, fmt, args);
+
+ dbg->debug_message(dbg->data, &id, PIPE_DEBUG_TYPE_SHADER_INFO, fmt, args);
va_end(args);
}