aco: stop using cstdint

We use stdint.h everywhere else.

Reviewed-by: Daniel Schürmann <daniel@schuermann.dev
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25943>
This commit is contained in:
Georg Lehmann 2023-10-28 14:29:23 +02:00 committed by Marge Bot
parent 04956d54ce
commit 1b9a3b7466
2 changed files with 3 additions and 3 deletions

View file

@ -68,7 +68,7 @@ enum {
*
* (*) The same is applicable for VOP1 and VOPC instructions.
*/
enum class Format : std::uint16_t {
enum class Format : uint16_t {
/* Pseudo Instruction Format */
PSEUDO = 0,
/* Scalar ALU & Control Formats */

View file

@ -28,11 +28,11 @@ template = """\
#ifndef _ACO_OPCODES_
#define _ACO_OPCODES_
#include <cstdint>
#include <stdint.h>
<% opcode_names = sorted(opcodes.keys()) %>
enum class aco_opcode : std::uint16_t {
enum class aco_opcode : uint16_t {
% for name in opcode_names:
${name},
% endfor