diff options
author | Andres Rodriguez <[email protected]> | 2017-07-12 18:45:24 -0400 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-08-06 12:42:07 +1000 |
commit | b2aaa91e8db006adbd2ca672756b3fdb23c5b589 (patch) | |
tree | 58ecbc664e2fdd195680c3f44d27ffa24333e672 /src/mesa/main/version.c | |
parent | 95cb7760493f92410faaf2214d5abe4b5fdaf308 (diff) |
mesa: hook up UUID queries for driver and device
v2: respective changes for new gallium interface
v3: fix UUID size asserts
Signed-off-by: Andres Rodriguez <[email protected]>
Reviewed-by: Timothy Arceri <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/mesa/main/version.c')
-rw-r--r-- | src/mesa/main/version.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c index f04c43ddf57..fe82b4674d7 100644 --- a/src/mesa/main/version.c +++ b/src/mesa/main/version.c @@ -651,3 +651,16 @@ _mesa_compute_version(struct gl_context *ctx) break; } } + + +void +_mesa_get_driver_uuid(struct gl_context *ctx, GLint *uuid) +{ + ctx->Driver.GetDriverUuid(ctx, (char*) uuid); +} + +void +_mesa_get_device_uuid(struct gl_context *ctx, GLint *uuid) +{ + ctx->Driver.GetDeviceUuid(ctx, (char*) uuid); +} |