Skip to content

d3d12: Fixes unused-variable compile error

Yonggang Luo requested to merge lygstate/mesa:d3d12_unused_variable_fixes into main

What does this MR do and why?

d3d12: Fixes unused-variable compile error

The compile error message is:
../../src/gallium/drivers/d3d12/d3d12_video_screen.cpp:481:70: error: unused variable ‘sliceData’ [-Werror=unused-variable]
  481 |    D3D12_VIDEO_ENCODER_PICTURE_CONTROL_SUBREGIONS_LAYOUT_DATA_SLICES sliceData = { };
      |                                                                      ^~~~~~~~~
cc1plus: all warnings being treated as errors

Signed-off-by: Yonggang Luo luoyonggang@gmail.com

cc @jenatali

Edited by Yonggang Luo

Merge request reports