<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 28/8/2019 10:00 pm, Nikolay Sivov
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:7419c993-658b-5c87-ef91-7137bb6e3534@codeweavers.com">
      <blockquote type="cite" style="color: #000000;">+    hr =
        IUnknown_QueryInterface(device, &IID_ID3D11Device, (void
        **)&d3d_device);
        <br>
        +    if (FAILED(hr))
        <br>
        +        hr = IUnknown_QueryInterface(device,
        &IID_ID3D12Device, (void **)&d3d_device);
        <br>
      </blockquote>
      <br>
      Can we query for IDXGIDevice instead?
      <br>
    </blockquote>
    Yes, I will use IDXGIDevice instead.<br>
    <blockquote type="cite"
      cite="mid:7419c993-658b-5c87-ef91-7137bb6e3534@codeweavers.com">
      <br>
      <blockquote type="cite" style="color: #000000;">     
        test_create_dxgi_device_manager();
        <br>
        +    test_reset_device();
        <br>
      </blockquote>
      Please use existing function for that.
      <br>
      <br>
      Also, what's a point of d3d12 device case?
      <br>
    </blockquote>
    <p>OK, I just found that it also support d3d12 device when writing
      tests. But it seems that debian testbot didn't support d3d12. And
      since we will use IDXGIDevice in the device manager struct
      instead, this will become not so important. I will drop these
      tests in next try.</p>
    <p>Thanks.<br>
    </p>
    <br>
  </body>
</html>