diff options
author | Bas Nieuwenhuizen <[email protected]> | 2016-04-21 17:05:19 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2016-05-13 07:39:12 +0200 |
commit | 5efe477b13d2bb7e40af2b7ce67c87546bf4ea60 (patch) | |
tree | e6a4f61612909e3d7bc80a5811d94593b248c789 /src/gallium/drivers/ddebug | |
parent | 8f05a0a4c0000aa0e544d903495242e39503038d (diff) |
gallium/ddebug: Add passthrough for get_compute_param.
Signed-off-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ddebug')
-rw-r--r-- | src/gallium/drivers/ddebug/dd_screen.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gallium/drivers/ddebug/dd_screen.c b/src/gallium/drivers/ddebug/dd_screen.c index fbc0bec73dd..ebe090b9bd1 100644 --- a/src/gallium/drivers/ddebug/dd_screen.c +++ b/src/gallium/drivers/ddebug/dd_screen.c @@ -74,6 +74,17 @@ dd_screen_get_paramf(struct pipe_screen *_screen, } static int +dd_screen_get_compute_param(struct pipe_screen *_screen, + enum pipe_shader_ir ir_type, + enum pipe_compute_cap param, + void *ret) +{ + struct pipe_screen *screen = dd_screen(_screen)->screen; + + return screen->get_compute_param(screen, ir_type, param, ret); +} + +static int dd_screen_get_shader_param(struct pipe_screen *_screen, unsigned shader, enum pipe_shader_cap param) { @@ -319,6 +330,7 @@ ddebug_screen_create(struct pipe_screen *screen) dscreen->base.get_device_vendor = dd_screen_get_device_vendor; dscreen->base.get_param = dd_screen_get_param; dscreen->base.get_paramf = dd_screen_get_paramf; + dscreen->base.get_compute_param = dd_screen_get_compute_param; dscreen->base.get_shader_param = dd_screen_get_shader_param; /* get_video_param */ /* get_compute_param */ |