FLACCL: support for Intel HD Graphics

This commit is contained in:
Grigory Chudov
2013-06-23 23:12:47 -04:00
parent 12f9a66c27
commit 9ebe8afe3f
3 changed files with 55 additions and 24 deletions

View File

@@ -1764,6 +1764,7 @@ namespace CUETools.Codecs.FLACCL
#endif
(m_settings.DeviceType == OpenCLDeviceType.CPU ? "#define FLACCL_CPU\n" : "") +
"#define OPENCL_PLATFORM \"" + OpenCL.GetPlatform(platformId).Name + "\"\n" +
"#define VENDOR_ID " + OCLMan.Context.Devices[0].VendorID + "\n" +
m_settings.Defines + "\n";
var exts = new string[] {