dawn-cmake/src
Corentin Wallez d8c068fb4f Remove explicit usage transition from the API and validation
This removes the following for both Buffer and Texture:
 - The builder's SetInitialUsage
 - The object's FreezeUsage and TransitionUsage methods
 - The CommandBuffer Transition<Object>Usage methods

All samples and tests are simplified as a result. This also obsoletes
the UsageValidationTest which is removed.

Some validation was dependent on "current usage" and hasn't been
reintroduced for implicit transitions yet:
 - Buffers can be used while mapped
 - Swapchain textures can be used after they have been presented.

Validation for these will involve collecting all the resources used by a
command buffer and will be done in a follow-up patch.
2018-07-16 14:44:20 +02:00
..
backend Remove explicit usage transition from the API and validation 2018-07-16 14:44:20 +02:00
common Add NXT_UNUSED to silence unused warnings 2018-06-12 14:26:32 -04:00
include/nxt Make the Vulkan backend support implicit barriers. 2018-07-11 17:17:21 +02:00
tests Remove explicit usage transition from the API and validation 2018-07-16 14:44:20 +02:00
utils Remove explicit usage transition from the API and validation 2018-07-16 14:44:20 +02:00
wire Assert HandleCommands succeeds 2018-07-10 14:00:52 -07:00