aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_syncobj.c
diff options
context:
space:
mode:
authorErik Faye-Lund <[email protected]>2019-03-06 13:28:51 +0100
committerErik Faye-Lund <[email protected]>2019-04-29 10:28:38 +0000
commitef13691e0c07d909a4f14280ca4fefbd79a9865b (patch)
tree784630d6eb769603a6592efd05dc0c0b4dfa8290 /src/mesa/state_tracker/st_cb_syncobj.c
parent04b0c6e9df718ff0f4d9f74c2a7142de44b0eb97 (diff)
swr: support NULL-resources
It's legal for a buffer-object to have a NULL-resource, but let's just skip over it, as there's nothing to do. This patch switches the order of the conditionals in swr_update_derived, so the logic becomes a bit more straight forward: if (is_user_buffer) ... else if (resource) ... else ... ...instead of this: if (!is_user_buffer) if (resource) ... else ... else ... Signed-off-by: Erik Faye-Lund <[email protected]> Reviewed-by: Alok Hota <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_cb_syncobj.c')
0 files changed, 0 insertions, 0 deletions