cube: Fix separate present queue validation errors
authorTony-LunarG <tony@lunarg.com>
Wed, 30 May 2018 20:53:14 +0000 (14:53 -0600)
committerKarl Schultz <karl@lunarg.com>
Tue, 5 Jun 2018 18:03:24 +0000 (12:03 -0600)
commit4ba65cdf65f7f6692f8d1828a6585117803dcea5
tree72a8543543fef316b067faa3ef895c53851b3787
parenta0c78f54ed15a8502dd4543fcb527a1c060bcdd4
cube: Fix separate present queue validation errors

From the spec:

Whilst it is not invalid to provide destination or source access
masks for memory barriers used for release or acquire operations,
respectively, they have no practical effect. Access after a release
operation has undefined results, and so visibility for those accesses
has no practical effect. Similarly, write access before an acquire
operation will produce undefined results for future access,
so availability of those writes has no practical use. In an earlier
version of the specification, these were required to match on both
sides - but this was subsequently relaxed.
These masks should be set to 0.

Change-Id: I495dc86ad62c0651fbc6acbfb0dfbb8245a324be
cube/cube.c
cube/cube.cpp