diff options
author | Marek Olšák <[email protected]> | 2019-08-29 20:35:54 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-09-18 14:41:30 -0400 |
commit | d307aa56f9f92da79d4ebbf1f9a1b3e65156f258 (patch) | |
tree | 42ae1de067d2d65a19dc28c6c8209787a0192753 /src/gallium/drivers | |
parent | aae35fbd3a3eba176ac6fdf6357be49002a561ee (diff) |
gallium: extend resource_get_param to be as capable as resource_get_handle
Reviewed-by: Tapani Pälli <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/iris/iris_resource.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_resource.c b/src/gallium/drivers/iris/iris_resource.c index 5b1fde7aac6..a140b3f1c6f 100644 --- a/src/gallium/drivers/iris/iris_resource.c +++ b/src/gallium/drivers/iris/iris_resource.c @@ -1025,9 +1025,12 @@ iris_flush_resource(struct pipe_context *ctx, struct pipe_resource *resource) static bool iris_resource_get_param(struct pipe_screen *screen, + struct pipe_context *context, struct pipe_resource *resource, - unsigned int plane, + unsigned plane, + unsigned layer, enum pipe_resource_param param, + unsigned handle_usage, uint64_t *value) { struct iris_resource *res = (struct iris_resource *)resource; |