zink: break out CmdSetColorWriteEnableEXT to util function
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Mon, 28 Mar 2022 12:59:37 +0000 (08:59 -0400)
committerMarge Bot <emma+marge@anholt.net>
Tue, 29 Mar 2022 19:01:01 +0000 (19:01 +0000)
commit408f114830fa1ec1be875cd9fe38889cbe964a0b
treeef13b2249d40963037ce1eef9d79ec7e00722835
parenta1814067cdc833bdbf1fbc49e11155c63d7b12a7
zink: break out CmdSetColorWriteEnableEXT to util function

this will otherwise become a no-op, and it's only intended that this
be called if cwrite is actually being used

Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15609>
src/gallium/drivers/zink/zink_context.c