File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -45,11 +45,6 @@ class PullConstantHeuristics : public llvm::ModulePass {
4545 }
4646
4747 DWORD pushConstantGRFThreshold = IGC_GET_FLAG_VALUE (BlockPushConstantGRFThreshold);
48- CompOptions compOpt;
49- // If the regkey is set (pushConstantGRFThreshold != 0xFFFFFFFF) then we should use the regkey value, use the compOptions otherwise
50- if ((pushConstantGRFThreshold == 0xFFFFFFFF ) && (compOpt.PushConstantGRFThreshold != UINT32_MAX)) {
51- pushConstantGRFThreshold = compOpt.PushConstantGRFThreshold ;
52- }
5348 if (pushConstantGRFThreshold != 0xFFFFFFFF ) {
5449 return pushConstantGRFThreshold * ctx->platform .getGRFSize () /
5550 (ctx->platform .getMinPushConstantBufferAlignment () * sizeof (DWORD));
Original file line number Diff line number Diff line change @@ -424,7 +424,6 @@ enum class ShaderTypeMD
424424 unsigned VISAPreSchedRPThreshold = 0 ;
425425 unsigned VISAPreSchedCtrl = 0 ;
426426 unsigned SetLoopUnrollThreshold = 0 ;
427- unsigned PushConstantGRFThreshold = UINT32_MAX;
428427 bool UnsafeMathOptimizations = false ;
429428 bool disableCustomUnsafeOpts = false ;
430429 bool disableReducePow = false ;
You can’t perform that action at this time.
0 commit comments