pps: Fix build errors.

In file included from ../src/tool/pps/pps_device.cc:10:
../src/tool/pps/pps_device.h:23:11: error: ‘uint32_t’ does not name a type
   23 |    static uint32_t device_count();
      |           ^~~~~~~~

In file included from ../src/tool/pps/pps_counter.cc:10:
../src/tool/pps/pps_counter.h:22:4: error: ‘uint32_t’ does not name a type
   22 |    uint32_t id;
      |    ^~~~~~~~

Fixes: 1cc72b2aef ("pps: Gfx-pps v0.3.0")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8186
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Rob Clark <robclark@freedesktop.org>
Reviewed-by: David Heidelberg <david.heidelberg@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21714>
(cherry picked from commit 29c6a09887)
This commit is contained in:
Vinson Lee 2023-03-04 13:26:20 -08:00 committed by Dylan Baker
parent f2ea143171
commit c2c3131e79
3 changed files with 3 additions and 1 deletions

View file

@ -6790,7 +6790,7 @@
"description": "pps: Fix build errors.",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "1cc72b2aef82373247466c2e7b81970c867ad0fa"
},

View file

@ -9,6 +9,7 @@
#pragma once
#include <cstdint>
#include <functional>
#include <string>
#include <variant>

View file

@ -9,6 +9,7 @@
#pragma once
#include <cstdint>
#include <optional>
#include <string>
#include <vector>