Skip to content

Commit 1058244

Browse files
skarczewigcbot
authored andcommitted
Minor refactor
Minor refactor
1 parent e1a61ba commit 1058244

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

IGC/Compiler/CISACodeGen/ShaderCodeGen.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,9 @@ class CShader
137137

138138
// if true, HW will pass one GRF NOS of inlinedata to payload, (compute only right now)
139139
virtual bool passNOSInlineData() { return false; }
140-
virtual bool loadThreadPayload() { return false; }
140+
virtual bool loadThreadPayload() {
141+
return false;
142+
}
141143
virtual int getAnnotatedNumThreads() { return -1; }
142144
virtual bool IsRegularGRFRequested() { return false; }
143145
virtual bool IsLargeGRFRequested() { return false; }

visa/PrologEpilog.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,6 @@ class PayloadLoader
363363
AlignUp(k.getInt32KernelAttr(Attributes::ATTR_PerThreadInputSize),
364364
k.numEltPerGRF<Type_UB>()) / k.numEltPerGRF<Type_UB>())
365365
{
366-
367366
auto rtmpRegNum = k.getNumRegTotal() - 1;
368367
rtmp = b.createHardwiredDeclare(k.numEltPerGRF<Type_UD>(), Type_UD, rtmpRegNum, 0);
369368

0 commit comments

Comments
 (0)