zink: correct type of flags to flush

This type is unsigned in the prototype, so this produces a warning on
MSVC.

Reviewed-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11380>
This commit is contained in:
Erik Faye-Lund 2021-06-16 01:49:25 -07:00 committed by Marge Bot
parent fde7b6694b
commit bcd82a90c2

View file

@ -2374,7 +2374,7 @@ equals_gfx_program(const void *a, const void *b)
static void
zink_flush(struct pipe_context *pctx,
struct pipe_fence_handle **pfence,
enum pipe_flush_flags flags)
unsigned flags)
{
struct zink_context *ctx = zink_context(pctx);
bool deferred = flags & PIPE_FLUSH_DEFERRED;