Skip to content

Commit

Permalink
vkd3d: Don't store pointer to QA info when not building with QA
Browse files Browse the repository at this point in the history
This is entirely unnecessary and a waste of space as it will never be used.

Signed-off-by: Joshua Ashton <joshua@froggi.es>
  • Loading branch information
misyltoad authored and HansKristian-Work committed Jul 8, 2021
1 parent a53a7f8 commit 1d23bdb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/vkd3d/vkd3d_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -2653,7 +2653,9 @@ struct d3d12_device
struct vkd3d_view_map sampler_map;
struct vkd3d_sampler_state sampler_state;
struct vkd3d_shader_debug_ring debug_ring;
#ifdef VKD3D_ENABLE_DESCRIPTOR_QA
struct vkd3d_descriptor_qa_global_info *descriptor_qa_global_info;
#endif
};

HRESULT d3d12_device_create(struct vkd3d_instance *instance,
Expand Down

0 comments on commit 1d23bdb

Please sign in to comment.