vkd3d: Add FIXME for dubious use of dsv_plane_optimal_mask.

Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
This commit is contained in:
Hans-Kristian Arntzen 2022-03-21 11:31:51 +01:00
parent fdf5ec705c
commit adf03e7a4b
1 changed files with 2 additions and 0 deletions

View File

@ -4060,6 +4060,8 @@ VkPipeline d3d12_pipeline_state_create_pipeline_variant(struct d3d12_pipeline_st
state->graphics.rtv_active_mask, key->rtv_active_mask);
}
/* FIXME: This gets modified on late recompilation, could there be thread safety issues here?
* For GENERAL depth-stencil, this mask should not matter at all, but there might be edge cases for tracked DSV. */
graphics->dsv_plane_optimal_mask = d3d12_graphics_pipeline_state_get_plane_optimal_mask(graphics, dsv_format);
if (key)