File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -306,7 +306,7 @@ bool hasSLMFence() const
306
306
307
307
bool hasIndependentSharedMemoryFenceFunctionality () const
308
308
{
309
- return (m_platformInfo.eProductFamily = = IGFX_DG2);
309
+ return (m_platformInfo.eProductFamily ! = IGFX_DG2);
310
310
}
311
311
312
312
bool supportRotateInstruction () const { return m_platformInfo.eRenderCoreFamily >= IGFX_GEN11_CORE; }
Original file line number Diff line number Diff line change 1
1
/* ========================== begin_copyright_notice ============================
2
2
3
- Copyright (C) 2021 Intel Corporation
3
+ Copyright (C) 2021-2023 Intel Corporation
4
4
5
5
SPDX-License-Identifier: MIT
6
6
@@ -471,8 +471,8 @@ bool SynchronizationObjectCoalescingAnalysis::runOnFunction(llvm::Function& F)
471
471
const bool isModified = false ; // this is only an analysis
472
472
m_CurrentFunction = &F;
473
473
const CodeGenContext* const ctx = getAnalysis<CodeGenContextWrapper>().getCodeGenContext ();
474
- m_HasIndependentSharedMemoryFenceFunctionality = ctx->platform .hasSLMFence () &&
475
- ctx->platform .hasIndependentSharedMemoryFenceFunctionality () &&
474
+ m_HasIndependentSharedMemoryFenceFunctionality = ! ctx->platform .hasSLMFence () ||
475
+ ( ctx->platform .hasSLMFence () && ctx-> platform . hasIndependentSharedMemoryFenceFunctionality ()) ||
476
476
IGC_IS_FLAG_ENABLED (EnableIndependentSharedMemoryFenceFunctionality);
477
477
m_ShaderType = ctx->type ;
478
478
m_HasTypedMemoryFenceFunctionality = ctx->platform .hasLSC () && ctx->platform .LSCEnabled ();
You can’t perform that action at this time.
0 commit comments