Skip to content

Commit a2150fd

Browse files
iwwuigcbot
authored andcommitted
[Autobackout][FuncReg]Revert of change: 3e2559b
Turn on UseVMaskPredicate as the default Enable pixel shader interpolation optimization with vmask predicate optimization. Limit the change to emitPSInput only
1 parent 1b2120e commit a2150fd

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

IGC/Compiler/CISACodeGen/EmitVISAPass.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4033,6 +4033,8 @@ void EmitPass::EmitGenericPointersCmp(llvm::Instruction* inst,
40334033

40344034
void EmitPass::BinaryUnary(llvm::Instruction* inst, const SSource source[2], const DstModifier& modifier)
40354035
{
4036+
UseVMaskPred();
4037+
40364038
switch (inst->getOpcode())
40374039
{
40384040
case Instruction::FCmp:
@@ -4445,6 +4447,8 @@ void EmitPass::Unary(e_opcode opCode, const SSource sources[1], const DstModifie
44454447
template<int N>
44464448
void EmitPass::Alu(e_opcode opCode, const SSource sources[N], const DstModifier& modifier)
44474449
{
4450+
UseVMaskPred();
4451+
44484452
CVariable* srcs[3] = { nullptr, nullptr, nullptr };
44494453
for (uint i = 0; i < N; i++)
44504454
{

IGC/common/igc_flags.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ DECLARE_IGC_REGKEY(bool, UseMTInLLD, false, "Use multi-thread
403403
DECLARE_IGC_REGKEY(bool, NoCatchAllDebugLine, false, "Don't emit special placeholder instruction to map VISA orphan instructions", false)
404404
DECLARE_IGC_REGKEY(bool, EnableTestSplitI64, false, "Test legalization that split i64 store unnecessarily, to be deleted once test is done[temp]", true)
405405
DECLARE_IGC_REGKEY(bool, ShaderDumpTranslationOnly, false, "Dump LLVM IR right after translation from SPIRV to stderr and ignore all passes", false)
406-
DECLARE_IGC_REGKEY(bool, UseVMaskPredicate, true, "Use VMask as predicate for subspan usage", false)
406+
DECLARE_IGC_REGKEY(bool, UseVMaskPredicate, false, "Use VMask as predicate for subspan usage", false)
407407
DECLARE_IGC_REGKEY(bool, StackOverflowDetection, false, "Inserts checks for stack overflow when stack calls are used.", true)
408408

409409
DECLARE_IGC_GROUP("IGC Features")

0 commit comments

Comments
 (0)