mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
Don't include stdint.h or inttypes. Use the uint64 typedef instead of uint64_t.
This commit is contained in:
parent
5a185ca09a
commit
62ef6376be
4 changed files with 6 additions and 7 deletions
|
|
@ -29,7 +29,7 @@
|
|||
#define PIPE_CONTEXT_H
|
||||
|
||||
#include "p_state.h"
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
struct pipe_state_cache;
|
||||
|
||||
|
|
@ -97,7 +97,7 @@ struct pipe_context {
|
|||
boolean (*get_query_result)(struct pipe_context *pipe,
|
||||
struct pipe_query *q,
|
||||
boolean wait,
|
||||
uint64_t *result);
|
||||
uint64 *result);
|
||||
|
||||
/*
|
||||
* State functions
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@
|
|||
|
||||
#include "p_compiler.h"
|
||||
#include <math.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
#ifdef WIN32
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ struct softpipe_context {
|
|||
/* Counter for occlusion queries. Note this supports overlapping
|
||||
* queries.
|
||||
*/
|
||||
uint64_t occlusion_count;
|
||||
uint64 occlusion_count;
|
||||
|
||||
/*
|
||||
* Mapped vertex buffers
|
||||
|
|
|
|||
|
|
@ -37,8 +37,8 @@
|
|||
#include "sp_query.h"
|
||||
|
||||
struct softpipe_query {
|
||||
uint64_t start;
|
||||
uint64_t end;
|
||||
uint64 start;
|
||||
uint64 end;
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -87,7 +87,7 @@ static boolean
|
|||
softpipe_get_query_result(struct pipe_context *pipe,
|
||||
struct pipe_query *q,
|
||||
boolean wait,
|
||||
uint64_t *result )
|
||||
uint64 *result )
|
||||
{
|
||||
struct softpipe_query *sq = softpipe_query(q);
|
||||
*result = sq->end - sq->start;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue