d3d10: Add D3D10_DRIVER_TYPE_WARP.
This commit is contained in:
parent
7c6ca2077f
commit
2d06703dc7
|
@ -121,6 +121,11 @@ HRESULT WINAPI D3D10CreateDevice(IDXGIAdapter *adapter, D3D10_DRIVER_TYPE driver
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
default:
|
||||||
|
FIXME("Unhandled driver type %#x.\n", driver_type);
|
||||||
|
IDXGIFactory_Release(factory);
|
||||||
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,7 @@ const char *debug_d3d10_driver_type(D3D10_DRIVER_TYPE driver_type)
|
||||||
WINE_D3D10_TO_STR(D3D10_DRIVER_TYPE_REFERENCE);
|
WINE_D3D10_TO_STR(D3D10_DRIVER_TYPE_REFERENCE);
|
||||||
WINE_D3D10_TO_STR(D3D10_DRIVER_TYPE_NULL);
|
WINE_D3D10_TO_STR(D3D10_DRIVER_TYPE_NULL);
|
||||||
WINE_D3D10_TO_STR(D3D10_DRIVER_TYPE_SOFTWARE);
|
WINE_D3D10_TO_STR(D3D10_DRIVER_TYPE_SOFTWARE);
|
||||||
|
WINE_D3D10_TO_STR(D3D10_DRIVER_TYPE_WARP);
|
||||||
default:
|
default:
|
||||||
FIXME("Unrecognized D3D10_DRIVER_TYPE %#x\n", driver_type);
|
FIXME("Unrecognized D3D10_DRIVER_TYPE %#x\n", driver_type);
|
||||||
return "unrecognized";
|
return "unrecognized";
|
||||||
|
|
|
@ -30,6 +30,7 @@ typedef enum D3D10_DRIVER_TYPE {
|
||||||
D3D10_DRIVER_TYPE_REFERENCE = 1,
|
D3D10_DRIVER_TYPE_REFERENCE = 1,
|
||||||
D3D10_DRIVER_TYPE_NULL = 2,
|
D3D10_DRIVER_TYPE_NULL = 2,
|
||||||
D3D10_DRIVER_TYPE_SOFTWARE = 3,
|
D3D10_DRIVER_TYPE_SOFTWARE = 3,
|
||||||
|
D3D10_DRIVER_TYPE_WARP = 5,
|
||||||
} D3D10_DRIVER_TYPE;
|
} D3D10_DRIVER_TYPE;
|
||||||
|
|
||||||
HRESULT WINAPI D3D10CreateDevice(IDXGIAdapter *adapter, D3D10_DRIVER_TYPE driver_type,
|
HRESULT WINAPI D3D10CreateDevice(IDXGIAdapter *adapter, D3D10_DRIVER_TYPE driver_type,
|
||||||
|
|
Loading…
Reference in New Issue