diff options
author | Marek Olšák <marek.olsak@amd.com> | 2020-10-09 23:05:08 -0400 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-12-08 17:47:56 +0000 |
commit | 4b2445916e6ae6b586bbde53310a411db084e67a (patch) | |
tree | a595e564eaa89b5d7526da90fa3e69e4a824e084 /src/mesa/main/glthread.h | |
parent | 6fe524d0f8cbab3d1e5ce32ef694b17dcd31db1d (diff) |
glthread: change sizes to unsigned or size_t where needed
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7719>
Diffstat (limited to 'src/mesa/main/glthread.h')
-rw-r--r-- | src/mesa/main/glthread.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/glthread.h b/src/mesa/main/glthread.h index 1a952155042..9abc4045815 100644 --- a/src/mesa/main/glthread.h +++ b/src/mesa/main/glthread.h @@ -106,7 +106,7 @@ struct glthread_batch * value temporarily, and glthread::used is copied to this variable when * the batch is submitted. */ - int used; + unsigned used; /** Data contained in the command buffer. */ uint64_t buffer[MARSHAL_MAX_CMD_SIZE / 8]; @@ -154,7 +154,7 @@ struct glthread_state unsigned next; /** Amount of data filled in next_batch, in bytes. */ - int used; + unsigned used; /** Upload buffer. */ struct gl_buffer_object *upload_buffer; |