File tree Expand file tree Collapse file tree 3 files changed +4
-0
lines changed
Compiler/Builtins/BIFFlagCtrl
VectorCompiler/lib/GenXOpts/CMTrans Expand file tree Collapse file tree 3 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ SPDX-License-Identifier: MIT
1111#define __BIF_FLAG_CONTROL_H__
1212
1313BIF_FLAG_CONTROL (PRODUCT_FAMILY , PlatformType )
14+ BIF_FLAG_CONTROL (GFXCORE_FAMILY , RenderFamily )
1415BIF_FLAG_CONTROL (bool , FlushDenormals )
1516BIF_FLAG_CONTROL (bool , FastRelaxedMath )
1617BIF_FLAG_CONTROL (bool , DashGSpecified )
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ void BIFFlagCtrlResolution::FillFlagCtrl() {
4040 // inserted for this flag. If needed feed class BIFFlagCtrlResolution
4141 // with new value from outside.
4242 BIF_FLAG_CTRL_SET (PlatformType, PtrCGC->platform .GetProductFamily ());
43+ BIF_FLAG_CTRL_SET (RenderFamily, PtrCGC->platform .getPlatformInfo ().eRenderCoreFamily );
4344 BIF_FLAG_CTRL_SET (
4445 FlushDenormals,
4546 ((PtrCGC->m_floatDenormMode32 == FLOAT_DENORM_FLUSH_TO_ZERO) ||
Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ void GenXBIFFlagCtrlResolution::FillFlagCtrl() {
6363
6464 // Need to feed this correctly
6565 BIF_FLAG_CTRL_SET (PlatformType, 0 /* platform.GetProductFamily()*/ );
66+ BIF_FLAG_CTRL_SET (RenderFamily, 0 /* platform.eRenderCoreFamily*/ );
67+
6668 BIF_FLAG_CTRL_SET (FlushDenormals, true );
6769 BIF_FLAG_CTRL_SET (DashGSpecified, false );
6870 BIF_FLAG_CTRL_SET (FastRelaxedMath, false );
You can’t perform that action at this time.
0 commit comments