Skip to content

Commit

Permalink
vkd3d: Expose Enhanced Barriers.
Browse files Browse the repository at this point in the history
Signed-off-by: Hans-Kristian Arntzen <[email protected]>
  • Loading branch information
HansKristian-Work committed Sep 6, 2023
1 parent e1d1029 commit c10f889
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libs/vkd3d/device.c
Original file line number Diff line number Diff line change
Expand Up @@ -7270,10 +7270,8 @@ static void d3d12_device_caps_init_feature_options11(struct d3d12_device *device
static void d3d12_device_caps_init_feature_options12(struct d3d12_device *device)
{
D3D12_FEATURE_DATA_D3D12_OPTIONS12 *options12 = &device->d3d12_caps.options12;

/* Exposing this without EnhancedBarrier is somewhat meaningless,
* but this allows us to implement the enhanced barrier API piecemeal. */
options12->RelaxedFormatCastingSupported = TRUE;
options12->EnhancedBarriersSupported = TRUE;
}

static void d3d12_device_caps_init_feature_options13(struct d3d12_device *device)
Expand Down

0 comments on commit c10f889

Please sign in to comment.