zink: use bitfield for dirty flagging
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 29 Oct 2019 12:27:58 +0000 (13:27 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 30 Oct 2019 10:29:23 +0000 (10:29 +0000)
commitb222f28357cb3cb2bae751675614a39362da2816
treef4ac94f20789710c74c957668335976fae5d46a8
parent6d30abb4f14e238d128ab05479c6d4377a27ebfa
zink: use bitfield for dirty flagging

Bitfields are a bit more ideomatic than explicit flags, and harder to
get wrong.

Reviewed-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/zink/zink_context.c
src/gallium/drivers/zink/zink_context.h