@@ -51,7 +51,6 @@ IN THE SOFTWARE.
51
51
#include " common/shaderOverride.hpp"
52
52
53
53
#include " CLElfLib/ElfReader.h"
54
- #include " usc.h"
55
54
56
55
#if defined(IGC_VC_ENABLED)
57
56
#include " common/LLVMWarningsPush.hpp"
@@ -256,21 +255,7 @@ bool CIGCTranslationBlock::Translate(
256
255
257
256
IGC::CPlatform IGCPlatform (m_Platform);
258
257
259
- SUscGTSystemInfo gtSystemInfo = { 0 };
260
- gtSystemInfo.EUCount = m_SysInfo.EUCount ;
261
- gtSystemInfo.ThreadCount = m_SysInfo.ThreadCount ;
262
- gtSystemInfo.SliceCount = m_SysInfo.SliceCount ;
263
- gtSystemInfo.SubSliceCount = m_SysInfo.SubSliceCount ;
264
- gtSystemInfo.IsDynamicallyPopulated = m_SysInfo.IsDynamicallyPopulated ;
265
- gtSystemInfo.TotalVsThreads = m_SysInfo.TotalVsThreads ;
266
- gtSystemInfo.TotalPsThreadsWindowerRange = m_SysInfo.TotalPsThreadsWindowerRange ;
267
- gtSystemInfo.TotalDsThreads = m_SysInfo.TotalDsThreads ;
268
- gtSystemInfo.TotalGsThreads = m_SysInfo.TotalGsThreads ;
269
- gtSystemInfo.TotalHsThreads = m_SysInfo.TotalHsThreads ;
270
- gtSystemInfo.MaxEuPerSubSlice = m_SysInfo.MaxEuPerSubSlice ;
271
- gtSystemInfo.EuCountPerPoolMax = m_SysInfo.EuCountPerPoolMax ;
272
-
273
- IGC::SetGTSystemInfo (>SystemInfo, &IGCPlatform);
258
+ IGC::SetGTSystemInfo (&m_SysInfo, &IGCPlatform);
274
259
IGC::SetWorkaroundTable (&m_SkuTable, &IGCPlatform);
275
260
IGC::SetCompilerCaps (&m_SkuTable, &IGCPlatform);
276
261
0 commit comments