File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -3944,6 +3944,10 @@ namespace IGC
3944
3944
}
3945
3945
}
3946
3946
3947
+ if (context->type == ShaderType::COMPUTE_SHADER && context->getModuleMetaData ()->csInfo .forceSpillCompression )
3948
+ {
3949
+ params.push_back (param_uptr (" -forcespillcompression" , literal_deleter));
3950
+ }
3947
3951
// Ensure VISA_Opts has the same scope as CreateVISABuilder so that valid
3948
3952
// strings are checked by vISA and freed out of this function.
3949
3953
if (IGC_IS_FLAG_ENABLED (VISAOptions))
Original file line number Diff line number Diff line change @@ -469,6 +469,7 @@ namespace IGC
469
469
unsigned int forceTotalGRFNum = 0 ; // 0 means not forced
470
470
unsigned int VISAPreSchedRPThreshold = 0 ; // 0 means use the default
471
471
unsigned int SetLoopUnrollThreshold = 0 ; // 0 means use the default
472
+ bool forceSpillCompression = false ;
472
473
bool allowLowerSimd = false ;
473
474
bool disableSimd32Slicing = false ;
474
475
bool disableSplitOnSpill = false ;
You can’t perform that action at this time.
0 commit comments