Module: Mesa Branch: main Commit: 1c5b206366c88ed85b4bd9585e3a7fbc8f6b1fec URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c5b206366c88ed85b4bd9585e3a7fbc8f6b1fec
Author: Lionel Landwerlin <[email protected]> Date: Fri Jun 25 10:44:44 2021 +0300 intel/devinfo: printout devinfo struct size Signed-off-by: Lionel Landwerlin <[email protected]> Reviewed-by: Jordan Justen <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14510> --- src/intel/dev/intel_dev_info.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/intel/dev/intel_dev_info.c b/src/intel/dev/intel_dev_info.c index c203d5f2070..7768d0d1ad4 100644 --- a/src/intel/dev/intel_dev_info.c +++ b/src/intel/dev/intel_dev_info.c @@ -70,6 +70,8 @@ main(int argc, char *argv[]) if (!success) continue; + fprintf(stdout, "devinfo struct size = %zu\n", sizeof(devinfo)); + fprintf(stdout, "%s:\n", path); fprintf(stdout, " name: %s\n", devinfo.name);
