Skip to content

d3d11, dxgiscreencapsrc: Load HLSL compiler library using g_module_open

The name of installed (as of Windows) HLSL compiler library would be different depending on Windows version (d3dcompiler_47.dll, d3dcompiler_46.dll, or so).

Probably it would make d3d11 plugin and dxgiscreencapsrc element unusable

Need to test following cases (dxgiscreencapsrc will not be supported on Windows7, will test other elements in winscreencap plugin)

  • MinGW + Windows10
  • MinGW + Windows7
  • MSVC + Windows10
  • MSVC + Windows7
  • MSVC + UWP + Windows 10 (d3d11 only)
dxgiscreencapsrc: Load HLSL compiler library using g_module_open

Depending on OS version, available d3dcompiler library name is different.
dxgiscreencapsrc: Reorganize debug category usage

Use the same debug category in all dxgiscreencap related source code
winscreencap: Remove trailing whitespaces
d3d11device: Print supported DXGI format for debugging
d3d11: Load HLSL compiler library using g_module_open

Depending on OS version, available d3dcompiler library name is different.
But for UWP, we can still use the current way
d3d11shader: Add missing config.h include
Edited by Seungha Yang

Merge request reports

Loading